Class PermissionEntityAttribute
- Namespace
- Dynamicweb.Security.Permissions
- Assembly
- Dynamicweb.Core.dll
Attribute to mark a class as a permission entity with a specified permission name.
[AttributeUsage(AttributeTargets.Class)]
public sealed class PermissionEntityAttribute : Attribute
- Inheritance
-
PermissionEntityAttribute
- Inherited Members
Constructors
PermissionEntityAttribute(string)
Instantiates a permission entity attribute with a specified permission name.
public PermissionEntityAttribute(string name)
Parameters
name
stringPermission name
Properties
Name
Gets the permission name.
public string Name { get; }