Principal.Name Property

Definition

Gets or sets the name of this principal.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[get: System.Security.SecurityCritical]
[set: System.Security.SecurityCritical]
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

The name of the principal or null if the name attribute is not set.

Attributes

Exceptions

The application tried to set the name to null.

The underlying store does not support this property.

Applies to