Поделиться через


Метод Web.GetUserEffectivePermissions

Gets the effective permissions that the specified user has within the current application scope.

Пространство имен:  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 Web
Dim userName As String
Dim returnValue As ClientResult(Of BasePermissions)

returnValue = instance.GetUserEffectivePermissions(userName)
public ClientResult<BasePermissions> GetUserEffectivePermissions(
    string userName
)

Параметры

  • userName
    Тип: System.String

    The user associated with the returned permissions.

Возвращаемое значение

Тип: Microsoft.SharePoint.Client.ClientResult<BasePermissions>
The permissions of the given user.

Замечания

It must not be пустая ссылка (Nothing в Visual Basic).

См. также

Справочные материалы

Web класс

Элементы Web

Пространство имен Microsoft.SharePoint.Client