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.
Syntax
'Declaration
 
Property UserName As System.String
'Usage
 
Dim instance As IWorkbookSet
Dim value As System.String
 
instance.UserName = value
 
value = instance.UserName
System.string UserName {get; set;}
Requirements

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

Reference

IWorkbookSet Interface
IWorkbookSet Members
Author Property
Author Property
LastAuthor Property