ServiceSecurityContext.WindowsIdentity Свойство

Определение

Возвращает удостоверение Windows текущего параметра.

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

Значение свойства

Объект WindowsIdentity, представляющий пользователя домена Windows.

Примеры

PrincipalPermissionAttribute

IPrincipal

Комментарии

Если удаленную сторону нельзя связать с учетной записью Windows, свойству IsAnonymous присваивается значение true.

Применяется к