Interface IDictionaryPermissionAuthorizer
Authorizes dictionary access based on cultures.
Namespace: Umbraco.Cms.Core.Security.Authorization
Assembly: Umbraco.Core.dll
Syntax
public interface IDictionaryPermissionAuthorizer
Methods
View SourceIsAuthorizedForCultures(IUser, ISet<string>)
Authorizes whether the current user has access to the specified cultures for dictionary operations.
Declaration
Task<bool> IsAuthorizedForCultures(IUser currentUser, ISet<string> culturesToCheck)
Parameters
| Type | Name | Description |
|---|---|---|
| IUser | currentUser | The current user. |
| ISet<string> | culturesToCheck | The collection of cultures to check authorization for. |
Returns
| Type | Description |
|---|---|
| Task<bool> | Returns |