SPUtility.ConvertSPRightsToSPBasePermissions method
SPRights位元遮罩轉換成SPBasePermissions位元遮罩。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function ConvertSPRightsToSPBasePermissions ( _
perm As SPRights _
) As SPBasePermissions
'用途
Dim perm As SPRights
Dim returnValue As SPBasePermissions
returnValue = SPUtility.ConvertSPRightsToSPBasePermissions(perm)
public static SPBasePermissions ConvertSPRightsToSPBasePermissions(
SPRights perm
)
參數
perm
Type: Microsoft.SharePoint.SPRights要轉換的SPRights位元遮罩。
傳回值
Type: Microsoft.SharePoint.SPBasePermissions
SPBasePermissions 物件。