PermissionPolicyRoleBase.Name Property
Specifies the name of the security role.
Namespace: DevExpress.Persistent.BaseImpl.EF.PermissionPolicy
Assembly: DevExpress.Persistent.BaseImpl.EFCore.v22.2.dll
NuGet Package: DevExpress.Persistent.BaseImpl.EFCore
NuGet Package: DevExpress.Persistent.BaseImpl.EF6
Declaration
[RuleRequiredField("PermissionPolicyRoleBase_Name_RuleRequiredField", DefaultContexts.Save)]
[RuleUniqueValue("PermissionPolicyRoleBase_Name_RuleUniqueValue", DefaultContexts.Save, "The role with the entered Name was already registered within the system")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
String | A string which is the name of the security role. |
Remarks
An example of using this property is provided in the Client-Side Security (2-Tier Architecture) topic.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Name property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.