C# Класс Microsoft.Legal.MatterCenter.Repository.UserRepository

Наследование: IUserRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CheckUserPresentInMatterCenter() публичный Метод

This method will check whether user exists in a sharepoint site or not
public CheckUserPresentInMatterCenter ( Client client ) : bool
client Microsoft.Legal.MatterCenter.Models.Client
Результат bool

GetLoggedInUserDetails() публичный Метод

public GetLoggedInUserDetails ( Client client ) : Users
client Microsoft.Legal.MatterCenter.Models.Client
Результат Microsoft.Legal.MatterCenter.Models.Users

GetLoggedInUserDetails() публичный Метод

public GetLoggedInUserDetails ( ClientContext clientContext ) : Users
clientContext ClientContext
Результат Microsoft.Legal.MatterCenter.Models.Users

GetPermissionLevelsAsync() публичный Метод

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
Результат Task>

GetRolesAsync() публичный Метод

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
Результат Task>

GetUserProfilePicture() публичный Метод

public GetUserProfilePicture ( Client client ) : Users
client Microsoft.Legal.MatterCenter.Models.Client
Результат Microsoft.Legal.MatterCenter.Models.Users

GetUsersAsync() публичный Метод

public GetUsersAsync ( SearchRequestVM searchRequestVM ) : Task>
searchRequestVM Microsoft.Legal.MatterCenter.Models.SearchRequestVM
Результат Task>

IsLoginUserOwner() публичный Метод

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
Результат bool

UserRepository() публичный Метод

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
Результат Microsoft.Extensions.Options