getUserName
getUserName(type: Integer): String;
The getUserName method of the OleControl class returns the OLE description of the OLE objects in an OLE control.
The values that can be specified for the type parameter are listed in the following table.
OleControl Class Constant | Value | Description |
---|---|---|
GetUsername_Full | 1 | Full OLE object name |
GetUsername_Short | 2 | Short OLE object name |
GetUsername_App | 3 | Application name |