次の方法で共有


Web.CurrentUser プロパティ

Gets the current user of the site.

名前空間:  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 ReadOnly Property CurrentUser As User
    Get
'使用
Dim instance As Web
Dim value As User

value = instance.CurrentUser
public User CurrentUser { get; }

プロパティ値

型: Microsoft.SharePoint.Client.User
A User object that represents the current user.

注釈

It must not be null 参照 (Visual Basic のNothing ).

関連項目

参照先

Web クラス

Web メンバー

Microsoft.SharePoint.Client 名前空間