Partilhar via


SPUtility.ConvertSPRightsToSPBasePermissions Method

Converts SPRights bit mask into SPBasePermissions bit mask.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ObsoleteType)> _
Public Shared Function ConvertSPRightsToSPBasePermissions ( _
    perm As SPRights _
) As SPBasePermissions
'Usage
Dim perm As SPRights
Dim returnValue As SPBasePermissions

returnValue = SPUtility.ConvertSPRightsToSPBasePermissions(perm)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ObsoleteType)]
public static SPBasePermissions ConvertSPRightsToSPBasePermissions(
    SPRights perm
)

Parameters

Return Value

Type: Microsoft.SharePoint.SPBasePermissions
An SPBasePermissions object.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace