Difference between revisions of "LlUsernameToKey"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{Issues/SVC-215}} {{LSL_Function |func_id |mode=request |func_sleep=0.1 |func_energy=10.0 |func=llUsernameToKey |sort=UsernameToKey |return_type=key |p1_type=string|p1_name=user…")
 
m
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
|func_id
|func_id
|mode=request
|mode=request
|func_sleep=0.1
|func_sleep=0.0
|func_energy=10.0
|func_energy=10.0
|func=llUsernameToKey
|func=llUsernameToKey
|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 16: Line 16:
|related
|related
|also
|also
|also_functions=
{{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||[[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 );