PrincipalPermissionAttribute::Name Property
.NET Framework (current version)
Gets or sets the name of the identity associated with the current principal.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::String^A name to match against that provided by the underlying role-based security provider.
If the authentication provider is Windows NT, 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.
.NET Framework
Available since 1.1
Available since 1.1
Show: