System.Security.Permissions.PrincipalPermissionAttribute.Role Property

Gets or sets membership in a specified security role.

Syntax

public string Role { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

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.

Requirements

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