_Application.UserName Property

Returns or sets the user's name, which is used on envelopes and for the Author document property.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property UserName As String
    Get
    Set
'Usage
Dim instance As _Application
Dim value As String

value = instance.UserName

instance.UserName = value
string UserName { get; set; }

Property Value

Type: System.String

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace