Partager via


KerberosServerContext.WindowsPrincipal Property

When overridden in a derived class, gets the Windows identity associated with this KerberosContext. Gets the Windows identity that is associated with this KerberosServerContext.

Namespace: Microsoft.Web.Services3.Security.Tokens.Kerberos
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim kerberosServerContext1 As KerberosServerContext

Dim returnValue As WindowsPrincipal
returnValue = kerberosServerContext1.WindowsPrincipal

Syntax

'Declaration
Public Overrides ReadOnly Property WindowsPrincipal() As WindowsPrincipal
public override WindowsPrincipal WindowsPrincipal {get;}
public:
property virtual WindowsPrincipal^ WindowsPrincipal {
    WindowsPrincipal^ get();
}
override public WindowsPrincipal get_WindowsPrincipal();
public override function get WindowsPrincipal() : WindowsPrincipal;

Property Value

A System.Security.Principal.WindowsPrincipal that represents the Windows identity associated with this KerberosContext.

Property Value

A System.Security.Principal.WindowsPrincipal that represents the Windows identity that is associated with this KerberosServerContext.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

KerberosServerContext Class
KerberosServerContext Members
Microsoft.Web.Services3.Security.Tokens.Kerberos Namespace