Aracılığıyla paylaş


ServiceSecurityContext.WindowsIdentity Özellik

Tanım

Geçerli ayarın Windows kimliğini alır.

public:
 property System::Security::Principal::WindowsIdentity ^ WindowsIdentity { System::Security::Principal::WindowsIdentity ^ get(); };
public System.Security.Principal.WindowsIdentity WindowsIdentity { get; }
member this.WindowsIdentity : System.Security.Principal.WindowsIdentity
Public ReadOnly Property WindowsIdentity As WindowsIdentity

Özellik Değeri

WindowsIdentity

WindowsIdentity Windows etki alanı kullanıcısını temsil eden bir.

Örnekler

PrincipalPermissionAttribute

IPrincipal

Açıklamalar

Uzak taraf bir Windows hesabıyla ilişkilendirilemiyorsa, IsAnonymous özelliği olarak trueayarlanır.

Şunlara uygulanır