GetUserFullName
- Last UpdatedOct 29, 2026
- 1 minute read
This function gets the full name (if any) of a specified user in the project security system.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetUserFullName |
Security |
Synchronous |
Yes |
Supported |
Supported |
Supported |
Supported |
Supported |
Syntax
GetUserFullName(strUserName, "tagUserFullName")
strUserName
The name of a user in the project security system.
tagUserFullName
The name of a tag (String type) that will receive the full name of the specified user. If the specified user does not have a full name defined, then the tag will receive an empty string ("").
Note: If this parameter is enclosed in quotes, the string literal will be used. Otherwise, the value of the tag/expression will be used.
Returned value
This function returns one of the following possible values:
|
Value |
Description |
|---|---|
|
0 |
Specified user does not exist. |
|
1 |
Success; specified user exists. |
Examples
Get the full name of the currently logged user (via the system tag UserName):
GetUserFullName( UserName, "UserFullName" )
Get the full name of the user "engineer1":
GetUserFullName( "engineer1", "UserFullName" )