Condividi tramite


SPSecurableObject.GetUserEffectivePermissionInfo Method

Gets an object with detailed information about the effective permissions that a specified user has in the current scope and the role assignments related to this user at this scope.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public MustOverride Function GetUserEffectivePermissionInfo ( _
    userName As String _
) As SPPermissionInfo
'Usage
Dim instance As SPSecurableObject
Dim userName As String
Dim returnValue As SPPermissionInfo

returnValue = instance.GetUserEffectivePermissionInfo(userName)
public abstract SPPermissionInfo GetUserEffectivePermissionInfo(
    string userName
)

Parameters

Return Value

Type: Microsoft.SharePoint.SPPermissionInfo
An object with detailed information about the permissions for a user at a given scope.

See Also

Reference

SPSecurableObject Class

SPSecurableObject Members

Microsoft.SharePoint Namespace

GetUserEffectivePermissions(String)