Principal.Name Propriedade

Definição

Obtém ou define o nome dessa entidade de segurança.Gets or sets the name of this principal.

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

Valor da propriedade

String

O nome da entidade de segurança ou null se o atributo de nome não estiver definido.The name of the principal or null if the name attribute is not set.

Atributos

Exceções

O aplicativo tentou definir o nome como null.The application tried to set the name to null.

O repositório subjacente não dá suporte a essa propriedade.The underlying store does not support this property.

Aplica-se a