SPWeb.CurrentUser-Eigenschaft
Ruft den aktuellen Benutzer der Website ab.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property CurrentUser As SPUser
Get
'Usage
Dim instance As SPWeb
Dim value As SPUser
value = instance.CurrentUser
public SPUser CurrentUser { get; }
Eigenschaftswert
Typ: Microsoft.SharePoint.SPUser
Ein SPUser -Objekt, das den aktuellen Benutzer darstellt.