Application.CurrentWebUser method (Access)
Gets information about the current user of a web database on Microsoft SharePoint Foundation 2010 and later.
Syntax
expression.CurrentWebUser (DisplayOption)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
DisplayOption | Required | AcWebUserDisplay | Specifies the type of information to return about the user. |
Return value
Variant
Remarks
The CurrentWebUser method returns Null if the database has not been published, or information about the current user cannot be retrieved.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.