Web.CurrentUser - Propriété
Gets the current user of the site.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public ReadOnly Property CurrentUser As User
Get
'Utilisation
Dim instance As Web
Dim value As User
value = instance.CurrentUser
public User CurrentUser { get; }
Valeur de propriété
Type : Microsoft.SharePoint.Client.User
A User object that represents the current user.
Remarques
It must not be une référence Null (Rien dans Visual Basic).