System.Security.Permissions.PrincipalPermissionAttribute.Name Property

Gets or sets the name of the identity associated with the current principal.

Syntax

public string Name { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If the authentication provider is Windows NT, PrincipalPermissionAttribute.Name is the same as the user's Windows NT login name (in the form "DomainName\UserName"). Check the documentation of your host to determine which authentication provider it uses and how it determines the identity of the current principal.

Requirements

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