ServiceSecurityContext.WindowsIdentity Egenskap

Definition

Hämtar den aktuella inställningens Windows identitet.

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

Egenskapsvärde

En WindowsIdentity som representerar den Windows domänanvändaren.

Exempel

PrincipalPermissionAttribute

IPrincipal

Kommentarer

Om fjärrparten inte kan associeras med ett Windows konto är egenskapen IsAnonymous inställd på true.

Gäller för