SpreadsheetGear 2023
UserName Property (IWorkbookSet)

SpreadsheetGear Namespace > IWorkbookSet Interface : UserName Property
Gets or sets the user name for this workbook set which is used as the default value for IBuiltinDocumentProperties.Author and LastAuthor as well as the default value for IComment.Author. If this value has not been set and there is a WorkbookView attached to this workbook set then the current user name from the UI platform will be returned and will be used as the Author defaults.
Property UserName As System.String
Dim instance As IWorkbookSet
Dim value As System.String
instance.UserName = value
value = instance.UserName
System.string UserName {get; set;}

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


IWorkbookSet Interface
IWorkbookSet Members
Author Property
Author Property
LastAuthor Property