Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the effective permissions that the specified user has within the current application scope.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetUserEffectivePermissions ( _
userName As String _
) As ClientResult(Of BasePermissions)
'Usage
Dim instance As Web
Dim userName As String
Dim returnValue As ClientResult(Of BasePermissions)
returnValue = instance.GetUserEffectivePermissions(userName)
public ClientResult<BasePermissions> GetUserEffectivePermissions(
string userName
)
Parameters
userName
Type: System.StringThe user associated with the returned permissions.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<BasePermissions>
The permissions of the given user.
Remarks
It must not be a null reference (Nothing in Visual Basic).