Application.UserName Property
SharePoint Designer Developer Reference |
Returns the logon name of the user that is currently logged on to the network or operating system.
Syntax
expression.UserName
expression Required. A variable that represents an Application object.
Remarks
The UserName property is the default parameter whenever a user name is required for a parameter. For example, the Open and Publish methods of the Webs collection both require a UserName parameter. When the parameter is not specified, the default parameter is the user name of the user currently logged on.
See Also