Share via


SPSecurityContext.IsWindowsIdentityAvailable Property

Gets a value that indicates whether a Windows identity is available for the current user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared ReadOnly Property IsWindowsIdentityAvailable As Boolean
    Get
'Usage
Dim value As Boolean

value = SPSecurityContext.IsWindowsIdentityAvailable
public static bool IsWindowsIdentityAvailable { get; }

Property Value

Type: System.Boolean
true if a Windows identity is available; otherwise, false.

See Also

Reference

SPSecurityContext Class

SPSecurityContext Members

Microsoft.SharePoint Namespace