RoleDefinitionExtensions class
namespace: Serenity.Abstractions assembly: Serenity.Net.Core
Extensions for IRoleDefinition.
public static class RoleDefinitionExtensions
Public Members
| name | description |
|---|---|
| static GetKeyOrName(…) | Gets what identifies the role in the roles of a user and in the permissions of a role, which is its key, or its name when it has no key. The permission key that the users who have the role hold is Role: followed by it. |
See Also
- Source: RoleDefinitionExtensions.cs