Difference between revisions of "LlName2Key"

From Second Life Wiki
Jump to navigation Jump to search
Line 13: Line 13:
|also
|also
|also_functions=
|also_functions=
{{LSL DefineRow||[[llUsernameToKey]]}} to fetch avatar UUID by username.
{{LSL DefineRow||[[llRequestUserKey]]}} to fetch avatar UUID by current or historical username.
{{LSL DefineRow||[[llRequestAgentKeyByUsername]]}} to fetch avatar UUID by username grid-wide.
{{LSL DefineRow||[[llDisplayNameToKeys]]}} to fetch avatar UUIDs by display-name.
{{LSL DefineRow||[[llRequestAgentKeysByDisplayName]]}} to fetch avatar UUIDs by display-name grid-wide.
{{LSL DefineRow||[[llRequestAgentKeyByName]]}} to fetch avatar UUID by legacy-name grid-wide.
}}
}}

Revision as of 12:02, 6 April 2018

KBnote.png Note: This function is coming soon but is not yet available.

Summary

Function: key llNameToKey( string name );

Returns a key the Agent ID for the named agent in the region. If there is no agent with the specified name currently signed onto the region, this function returns the value NULL_KEY. Names are always provided in the form "First[ Last]" or "first[.last]" (first name with an optional last name.) If the last name is omitted a last name of "Resident" is assumed. Case is not considered when resolving agent names.

• string name Name of the avatar to retrieve the UUID of.

Caveats

  • This function does not operate on historical names. For historical name lookup use llRequestUserKey.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llRequestUserKey to fetch avatar UUID by current or historical username.

Deep Notes

Search JIRA for related Issues

Signature

function key llNameToKey( string name );