Application.CurrentWebUser Method (Access)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Gets information about the current user of a Web database on Microsoft SharePoint Foundation 2010.

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

The CurrentWebUser method returns Null if the database has not been published, or information about the current user cannot be retrieved.

Show: