SPSecurableObject.GetUserEffectivePermissionInfo 方法
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.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public MustOverride Function GetUserEffectivePermissionInfo ( _
userName As String _
) As SPPermissionInfo
用法
Dim instance As SPSecurableObject
Dim userName As String
Dim returnValue As SPPermissionInfo
returnValue = instance.GetUserEffectivePermissionInfo(userName)
public abstract SPPermissionInfo GetUserEffectivePermissionInfo(
string userName
)
参数
userName
类型:System.StringThe value of the LoginName property of a user.
返回值
类型:Microsoft.SharePoint.SPPermissionInfo
An object with detailed information about the permissions for a user at a given scope.