ListItem.GetUserEffectivePermissions 方法
Gets the effective permissions that a specified user has on the list item.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Function GetUserEffectivePermissions ( _
userName As String _
) As ClientResult(Of BasePermissions)
用法
Dim instance As ListItem
Dim userName As String
Dim returnValue As ClientResult(Of BasePermissions)
returnValue = instance.GetUserEffectivePermissions(userName)
public ClientResult<BasePermissions> GetUserEffectivePermissions(
string userName
)
参数
userName
类型:System.StringThe value of the LoginName property of a user.
返回值
类型:Microsoft.SharePoint.Client.ClientResult<BasePermissions>
A bitwise combination of enumeration values that specifies a set of permissions.