SPTenantAdmin.IsCurrentUserTenantAdministrator method
指定目前的使用者是否在目前的站台訂閱的房客系統管理員。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function IsCurrentUserTenantAdministrator As Boolean
'用途
Dim returnValue As Boolean
returnValue = SPTenantAdmin.IsCurrentUserTenantAdministrator()
public static bool IsCurrentUserTenantAdministrator()
傳回值
Type: System.Boolean
true如果目前的使用者是承租人系統管理員,否則false。