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)

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