Difference between revisions of "LlUsernameToKey"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
|sort=UsernameToKey
|sort=UsernameToKey
|return_type=key
|return_type=key
|p1_type=string|p1_name=username
|p1_type=string|p1_name=username|p1_desc=the username of the avatar to retrieve the UUID of.
|return_text=that is the UUID of avatar with '''username''', if they are located in the same sim that the script is running in.
|return_text=that is the UUID of avatar with '''username''', if they are located in the same sim that the script is running in.
|spec
|spec
Line 20: Line 20:
{{LSL DefineRow||[[llDisplayNameToKeys]]}} to fetch avatar UUIDs by display-name.
{{LSL DefineRow||[[llDisplayNameToKeys]]}} to fetch avatar UUIDs by display-name.
{{LSL DefineRow||[[llRequestAgentKeysByDisplayName]]}} to fetch avatar UUIDs by display-name grid-wide.
{{LSL DefineRow||[[llRequestAgentKeysByDisplayName]]}} to fetch avatar UUIDs by display-name grid-wide.
{{LSL DefineRow||[[llNameToKey]]}} to fetch avatar UUID by legacy-name.
{{LSL DefineRow||[[llRequestAgentKeyByName]]}} to fetch avatar UUID by legacy-name grid-wide.
|notes=Please vote on {{jira|SVC-215}} if you would like to see this function implemented.
|notes=Please vote on {{jira|SVC-215}} if you would like to see this function implemented.
}}
}}

Latest revision as of 11:09, 30 May 2011

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: key llUsernameToKey( string username );
0.0 Forced Delay
10.0 Energy

Returns a key that is the UUID of avatar with username, if they are located in the same sim that the script is running in.

• string username the username of the avatar to retrieve the UUID of.

Caveats

  • Works only for agents recently located in the same sim the script is running in. To request a UUID for a non-local avatar then use llRequestAgentKeyByUsername() instead.

Examples

Notes

Please vote on SVC-215 if you would like to see this function implemented.

See Also

Functions

•  llRequestAgentKeyByUsername to fetch avatar UUID by username grid-wide.
•  llDisplayNameToKeys to fetch avatar UUIDs by display-name.
•  llRequestAgentKeysByDisplayName to fetch avatar UUIDs by display-name grid-wide.
•  llNameToKey to fetch avatar UUID by legacy-name.
•  llRequestAgentKeyByName to fetch avatar UUID by legacy-name grid-wide.

Deep Notes

Signature

//function key llUsernameToKey( string username );