Web.GetUserEffectivePermissions 方法
取得目指定使用者在前的應用程式範圍內擁有的有效權限。
命名空間: 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傳回的權限與相關聯的使用者。
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<BasePermissions>
指定使用者的權限。
備註
它不能null 參考 (未執行任何動作 於 Visual Basic 中)。