GetFullname Method

Returns the full name of a user.

Syntax

object.GetFullname(bstrUsername, bstrFullname)

Properties

The GetFullname method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bstrUserName

String. The user name of the user in Windows security or the login name of the user in iFIX Security.

bstrFullname

String. Returns the full name of the user.

Return Value

This method returns HRESULT. If the HRESULT is a value other than S_OK, VBA generates an error. You can handle this error using the On Error Statement You can find out more information about the error by using Err Object.

 

Example

Applies To