The name identifying the current principal.
[Visual Basic] Public Property Name As String [C#] public string Name {get; set;} [C++] public: __property String* get_Name(); public: __property void set_Name(String*); [JScript] public function get Name() : String; public function set Name(String);
A name to match against that provided by the underlying role-based security provider.
If the authentication provider is Windows NT, name is synonymous with the user's NT login name. Check the documentation of your host to determine what authentication provider it uses and, therefore, how it determines the identity of the current principal.
PrincipalPermissionAttribute Class | PrincipalPermissionAttribute Members | System.Security.Permissions Namespace