A Sandcastle Documented Class Library

# WebCallerContextService CurrentWindowsIdentity Property

Gets the WindowsIdentity associated with the caller.

Namespace: Dundas.BI.WebApi
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public override WindowsIdentity CurrentWindowsIdentity { get; }

    Public Overrides ReadOnly Property CurrentWindowsIdentity As WindowsIdentity
    	Get

    public:
    virtual property WindowsIdentity^ CurrentWindowsIdentity {
    	WindowsIdentity^ get () override;
    }

    abstract CurrentWindowsIdentity : WindowsIdentity with get
    override CurrentWindowsIdentity : WindowsIdentity with get

#### Property Value

Type: WindowsIdentity
The current windows identity or
if there is no authenticated Windows identity associated with the caller.
Remarks
This implementation gets the name of the identity from CurrentPrincipal.Identity, and succeeds only if IsAuthenticated is
.
See Also

#### Reference

WebCallerContextService Class
Dundas.BI.WebApi Namespace