Web.GetUserEffectivePermissions - Méthode
Gets the effective permissions that the specified user has within the current application scope.
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 Web
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 user associated with the returned permissions.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<BasePermissions>
The permissions of the given user.
Remarques
It must not be une référence Null (Rien dans Visual Basic).