C# Class Microsoft.Legal.MatterCenter.Repository.UserRepository

Inheritance: IUserRepository
Afficher le fichier Open project: Microsoft/mattercenter

Méthodes publiques

Méthode Description
CheckUserPresentInMatterCenter ( Client client ) : bool

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

GetLoggedInUserDetails ( Client client ) : Users

GetLoggedInUserDetails ( ClientContext clientContext ) : Users

GetPermissionLevelsAsync ( Client client ) : Task>

This method will get all permissions levels that are configured for a given site collection

GetRolesAsync ( Client client ) : Task>

Thios method will get all roles such as attorney journal etc which are configured in the catalog site collection

GetUserProfilePicture ( Client client ) : Users

GetUsersAsync ( SearchRequestVM searchRequestVM ) : Task>

IsLoginUserOwner ( Client client ) : bool

This method will check whether login user is part of owner group or not

UserRepository ( IUsersDetails userDetails, ISPList spList, IOptions listNames, IOptions camlQueries, IOptions matterSettings, ISearch search ) : Microsoft.Extensions.Options

Method Details

CheckUserPresentInMatterCenter() public méthode

This method will check whether user exists in a sharepoint site or not
public CheckUserPresentInMatterCenter ( Client client ) : bool
client Microsoft.Legal.MatterCenter.Models.Client
Résultat bool

GetLoggedInUserDetails() public méthode

public GetLoggedInUserDetails ( Client client ) : Users
client Microsoft.Legal.MatterCenter.Models.Client
Résultat Microsoft.Legal.MatterCenter.Models.Users

GetLoggedInUserDetails() public méthode

public GetLoggedInUserDetails ( ClientContext clientContext ) : Users
clientContext ClientContext
Résultat Microsoft.Legal.MatterCenter.Models.Users

GetPermissionLevelsAsync() public méthode

This method will get all permissions levels that are configured for a given site collection
public GetPermissionLevelsAsync ( Client client ) : Task>
client Microsoft.Legal.MatterCenter.Models.Client
Résultat Task>

GetRolesAsync() public méthode

Thios method will get all roles such as attorney journal etc which are configured in the catalog site collection
public GetRolesAsync ( Client client ) : Task>
client Microsoft.Legal.MatterCenter.Models.Client
Résultat Task>

GetUserProfilePicture() public méthode

public GetUserProfilePicture ( Client client ) : Users
client Microsoft.Legal.MatterCenter.Models.Client
Résultat Microsoft.Legal.MatterCenter.Models.Users

GetUsersAsync() public méthode

public GetUsersAsync ( SearchRequestVM searchRequestVM ) : Task>
searchRequestVM Microsoft.Legal.MatterCenter.Models.SearchRequestVM
Résultat Task>

IsLoginUserOwner() public méthode

This method will check whether login user is part of owner group or not
public IsLoginUserOwner ( Client client ) : bool
client Microsoft.Legal.MatterCenter.Models.Client
Résultat bool

UserRepository() public méthode

public UserRepository ( IUsersDetails userDetails, ISPList spList, IOptions listNames, IOptions camlQueries, IOptions matterSettings, ISearch search ) : Microsoft.Extensions.Options
userDetails IUsersDetails
spList ISPList
listNames IOptions
camlQueries IOptions
matterSettings IOptions
search ISearch
Résultat Microsoft.Extensions.Options