UserName property

Microsoft Visio Developer Reference

UserName property

See also   Example   

Gets or sets the user name of an Application object.

Version added

4.0

Syntax

strRet = object.UserName
object.UserName = strExpression

strRet

String. The user name.

object

Required. An expression that returns an Application object.

strExpression

Required String. The user name.

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 (click Options on the Tools menu, and then click General).