It is documented that @name([G]; username) does not work on Domino ID.Is there a way I can get first and last names from Domino IDs?
Subject: Not without doing a lookup from the address book
The Domino ID cannot tell you what is the first name and what is the last name. You can try to parse them, but that doesn’t work very well:Mary Lou Retton
Dick Van Dyke
Jean Claude Van Damme
The lookup is easy in formula language:
@NameLookup([Exhaustive]; username; “FirstName”)
(or “LastName”)
In script it’s a bit more work. You need a document lookup (usually into the “($Users)” view) to grab the FirstName and LastName fields.
Subject: Thank you!