SPSecurableObject.GetUserEffectivePermissions method
在目前範圍中取得指定的使用者擁有的有效使用權限。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Type: System.String要傳回其權限使用者的 [ LoginName ] 屬性的值。
傳回值
Type: Microsoft.SharePoint.SPBasePermissions
列舉值的位元組合,指定一組權限。