Freigeben über


ServiceSecurityContext.WindowsIdentity Eigenschaft

Definition

Ruft die Windows-Identität der aktuellen Einstellung ab.

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

Eigenschaftswert

A WindowsIdentity that represents the Windows domain user.

Beispiele

PrincipalPermissionAttribute

IPrincipal

Hinweise

Wenn die Remotepartei keinem Windows-Konto zugeordnet werden kann, wird die IsAnonymous Eigenschaft auf true.

Gilt für: