Метод 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.