共用方式為


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
)

參數

傳回值

Type: Microsoft.SharePoint.SPBasePermissions
SPBasePermissions 物件。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace