C# 클래스 Microsoft.Legal.MatterCenter.Repository.UsersDetails

This class contains all the methods which are related to user information
상속: IUsersDetails
파일 보기 프로젝트 열기: Microsoft/mattercenter

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CheckUserFullPermission ( ClientContext clientContext, Matter matter ) : bool

Function to check user full permission on document library

CheckUserPresentInMatterCenter ( ClientContext clientContext, string email ) : bool

This method will check whether user exists in a sharepoint site or not

CheckUserPresentInMatterCenter ( string clientUrl, string email ) : bool

This method will check whether user exists in a sharepoint site or not

GetLoggedInUserDetails ( Client client ) : Users

Over loaded method

GetLoggedInUserDetails ( ClientContext clientContext ) : Users

This method will return the user object who has currently logged into the system

GetUserPrincipal ( Client client, Matter matter, IList userIds ) : Principal>>.List

Get the principal associated to the user

GetUserProfilePicture ( Client client ) : Task

This method will get user profile picture of the login user

IsLoginUserOwner ( Client client ) : bool

This method will check if the current login user is part of site owners group or not

ResolveUserNames ( Client client, IList userNames ) : IList

Bulk resolves the specified users.

ResolveUserNames ( ClientContext clientContext, IList userNames ) : IList

Gets the user access.

UsersDetails ( IOptions matterSettings, IOptions listNames, ISPOAuthorization spoAuthorization, ICustomLogger customLogger, IOptions logTables, IHttpContextAccessor httpContextAccessor, IOptions generalSettings ) : Microsoft.SharePoint.Client

Constructir where all the dependencies are injected

메소드 상세

CheckUserFullPermission() 공개 메소드

Function to check user full permission on document library
public CheckUserFullPermission ( ClientContext clientContext, Matter matter ) : bool
clientContext ClientContext
matter Microsoft.Legal.MatterCenter.Models.Matter
리턴 bool

CheckUserPresentInMatterCenter() 공개 메소드

This method will check whether user exists in a sharepoint site or not
public CheckUserPresentInMatterCenter ( ClientContext clientContext, string email ) : bool
clientContext ClientContext
email string
리턴 bool

CheckUserPresentInMatterCenter() 공개 메소드

This method will check whether user exists in a sharepoint site or not
public CheckUserPresentInMatterCenter ( string clientUrl, string email ) : bool
clientUrl string
email string
리턴 bool

GetLoggedInUserDetails() 공개 메소드

Over loaded method
public GetLoggedInUserDetails ( Client client ) : Users
client Microsoft.Legal.MatterCenter.Models.Client
리턴 Microsoft.Legal.MatterCenter.Models.Users

GetLoggedInUserDetails() 공개 메소드

This method will return the user object who has currently logged into the system
public GetLoggedInUserDetails ( ClientContext clientContext ) : Users
clientContext ClientContext
리턴 Microsoft.Legal.MatterCenter.Models.Users

GetUserPrincipal() 공개 메소드

Get the principal associated to the user
public GetUserPrincipal ( Client client, Matter matter, IList userIds ) : Principal>>.List
client Microsoft.Legal.MatterCenter.Models.Client
matter Microsoft.Legal.MatterCenter.Models.Matter Matter Information
userIds IList The userids for which we need to return the principals
리턴 Principal>>.List

GetUserProfilePicture() 공개 메소드

This method will get user profile picture of the login user
public GetUserProfilePicture ( Client client ) : Task
client Microsoft.Legal.MatterCenter.Models.Client
리턴 Task

IsLoginUserOwner() 공개 메소드

This method will check if the current login user is part of site owners group or not
public IsLoginUserOwner ( Client client ) : bool
client Microsoft.Legal.MatterCenter.Models.Client
리턴 bool

ResolveUserNames() 공개 메소드

Bulk resolves the specified users.
public ResolveUserNames ( Client client, IList userNames ) : IList
client Microsoft.Legal.MatterCenter.Models.Client
userNames IList Name of the users to be resolved
리턴 IList

ResolveUserNames() 공개 메소드

Gets the user access.
public ResolveUserNames ( ClientContext clientContext, IList userNames ) : IList
clientContext ClientContext
userNames IList
리턴 IList

UsersDetails() 공개 메소드

Constructir where all the dependencies are injected
public UsersDetails ( IOptions matterSettings, IOptions listNames, ISPOAuthorization spoAuthorization, ICustomLogger customLogger, IOptions logTables, IHttpContextAccessor httpContextAccessor, IOptions generalSettings ) : Microsoft.SharePoint.Client
matterSettings IOptions
listNames IOptions
spoAuthorization ISPOAuthorization
customLogger ICustomLogger
logTables IOptions
httpContextAccessor IHttpContextAccessor
generalSettings IOptions
리턴 Microsoft.SharePoint.Client