SPSecurableObject.GetUserEffectivePermissions 方法

Gets the effective permissions that a specified user has in the current scope.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public MustOverride Function GetUserEffectivePermissions ( _
    userName As String _
) As SPBasePermissions
用法
Dim instance As SPSecurableObject
Dim userName As String
Dim returnValue As SPBasePermissions

returnValue = instance.GetUserEffectivePermissions(userName)
public abstract SPBasePermissions GetUserEffectivePermissions(
    string userName
)

参数

  • userName
    类型:System.String

    The value of the LoginName property of the user whose permissions are to be returned.

返回值

类型:Microsoft.SharePoint.SPBasePermissions
A bitwise combination of enumeration values that specifies a set of permissions.

另请参阅

引用

SPSecurableObject 类

SPSecurableObject 成员

Microsoft.SharePoint 命名空间

EffectiveBasePermissions

GetUserEffectivePermissionInfo(String)