SPSecurityContext.IsWindowsIdentityAvailable 属性

获取一个值,该值指示是否可用于当前用户的 Windows 标识。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Shared ReadOnly Property IsWindowsIdentityAvailable As Boolean
    Get
用法
Dim value As Boolean

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

属性值

类型:System.Boolean
true Windows 标识是否可用。否则为false。

另请参阅

引用

SPSecurityContext 类

SPSecurityContext 成员

Microsoft.SharePoint 命名空间