ListItem.GetUserEffectivePermissions - Méthode
Gets the effective permissions that a specified user has on the list item.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function GetUserEffectivePermissions ( _
userName As String _
) As ClientResult(Of BasePermissions)
'Utilisation
Dim instance As ListItem
Dim userName As String
Dim returnValue As ClientResult(Of BasePermissions)
returnValue = instance.GetUserEffectivePermissions(userName)
public ClientResult<BasePermissions> GetUserEffectivePermissions(
string userName
)
Paramètres
userName
Type : System.StringThe value of the LoginName property of a user.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<BasePermissions>
A bitwise combination of enumeration values that specifies a set of permissions.