PowerUp Description

The pwrCURRENTUSER PowerUp function returns the name of the currently logged on user. If TRUE is passed, the network domain name is also included in the name returned.

PowerUp Syntax

pwrCURRENTUSER([IncludeDomain])

The pwrCURRENTUSER PowerUp function has the following arguments:

IncludeDomain– Optional. If TRUE, will cause the pwrCURRENTUSER PowerUp function to return the network domain name of the logged on user as part of the name.

Return Value

pwrCURRENTUSER will return the name of the logged on user. The full name with the network domain will be return if pwrCURRENTUSER is called with TRUE as its only parameter.

Remarks

None.

Example

=pwrCURRENTUSER(TRUE)

Leave a Reply

Your email address will not be published. Required fields are marked *