Share via


UserName Property [Visio 2003 SDK Documentation]

Gets or sets the user name of an Application object.

strRet = object**.UserName**

object**.UserName** = strExpression

strRet     String. The user name.

object     Required. An expression that returns an Application or ApplicationSettings object.

strExpression     Required String. The user name.

Version added

4.0

Remarks

Setting the UserName property is equivalent to entering a name in the User name box on the General tab in the Options dialog box (Tools menu).

Applies to | Application object | ApplicationSettings object | InvisibleApp object

See Also | UserInitials property