次の方法で共有


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 null 参照 (Visual Basic のNothing ).

関連項目

参照先

Web クラス

Web メンバー

Microsoft.SharePoint.Client 名前空間