System.Security.Permissions.PrincipalPermissionAttribute.Role Property

Gets or sets membership in a specified security role.


public string Role { get; set; }


Documentation for this section has not yet been entered.


The available roles will differ based on the authentication provider in use by the host. If the authentication provider is Windows NT, roles are Windows NT user groups (in the form "DomainName\GroupName"). Check the documentation of your host to determine which authentication provider it uses and what roles users can belong to.


Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,