Manages permissions for user access.
Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntaxpublic interface IUserPermissionService
Methods View Source
Authorize that a user has access to user account.
Declarationvirtual Task<UserAuthorizationStatus> AuthorizeAccessAsync(IUser user, Guid userKey)
Parameters Type Name Description IUser user
IUser to authorize.
Guid userKeyThe identifier of the user account to check for access.
Returns View Source AuthorizeAccessAsync(IUser, IEnumerable<Guid>)Authorize that a user has access to user accounts.
DeclarationTask<UserAuthorizationStatus> AuthorizeAccessAsync(IUser user, IEnumerable<Guid> userKeys)
Parameters Type Name Description IUser user
IUser to authorize.
IEnumerable<Guid> userKeysThe identifiers of the user accounts to check for access.
ReturnsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4