ListItem.GetUserEffectivePermissions method
Gets the effective permissions that a specified user has on the list item.
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 ListItem
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 value of the LoginName property of a user.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<BasePermissions>
A bitwise combination of enumeration values that specifies a set of permissions.