Class PermissionEntityLookupManager
- Namespace
- Dynamicweb.Security.Permissions
- Assembly
- Dynamicweb.Core.dll
Provides functionality for looking up instances of IPermissionEntity based on key and name.
public static class PermissionEntityLookupManager
- Inheritance
-
PermissionEntityLookupManager
- Inherited Members
Remarks
Initializes all instances of IPermissionEntityLookup once, when needed, and uses these instances for performing lookups during the application lifecycle.
Methods
GetPermissionEntityByKeyAndName(string, string)
Attempts to resolve a concrete instance of IPermissionEntity based on key and name.
public static IPermissionEntity? GetPermissionEntityByKeyAndName(string key, string name)
Parameters
Returns
- IPermissionEntity
An instance of IPermissionEntity, if found; otherwise,
null
.
- See Also