SPUtility.ConvertSPRightsToSPBasePermissions - Méthode
Masque de bits SPRights convertit de masque de bits SPBasePermissions .
Espace de noms : Microsoft.SharePoint.Utilities
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Shared Function ConvertSPRightsToSPBasePermissions ( _
perm As SPRights _
) As SPBasePermissions
'Utilisation
Dim perm As SPRights
Dim returnValue As SPBasePermissions
returnValue = SPUtility.ConvertSPRightsToSPBasePermissions(perm)
public static SPBasePermissions ConvertSPRightsToSPBasePermissions(
SPRights perm
)
Paramètres
perm
Type : Microsoft.SharePoint.SPRightsMasque de bits SPRights à convertir.
Valeur renvoyée
Type : Microsoft.SharePoint.SPBasePermissions
Un objet SPBasePermissions .