Web.GetUserEffectivePermissions method

SharePoint Online

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)

public ClientResult<BasePermissions> GetUserEffectivePermissions(
	string userName
)

Parameters

userName
Type: System.String

The user associated with the returned permissions.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<BasePermissions>
The permissions of the given user.

It must not be a null reference (Nothing in Visual Basic).

Show: