Difference between revisions of "LlGetPermissionsKey"

From Second Life Wiki
Jump to navigation Jump to search
(oh gods, please someone revert this.)
(This is what it should be IMO - the rest is SVC-4862)
Line 3: Line 3:
|func=llGetPermissionsKey|sort=GetPermissionsKey
|func=llGetPermissionsKey|sort=GetPermissionsKey
|return_type=key
|return_type=key
|func_footnote=Returns {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}} if permissions were never requested.
|func_footnote=Returns {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}} if permissions were never granted.
|func_desc=Used with [[llGetPermissions]] to determine who has granted {{LSLGC|Permissions/Script|permissions}} and which permissions have been granted.
|func_desc
|Return_text=of the '''agent''' parameter used in the last [[llRequestPermissions]] call (regardless of success).
|Return_text=of the avatar that last granted permissions to the script.
|spec
|spec
|caveats=
|caveats
*This information does not survive script reset.
|constants
|constants
|examples
|examples

Revision as of 13:36, 29 September 2009

Summary

Function: key llGetPermissionsKey( );

Returns the key of the avatar that last granted permissions to the script.

Returns NULL_KEY if permissions were never granted.

Caveats

Important Issues

~ All Issues ~ Search JIRA for related Bugs
   llGetPermissionsKey() doesn't return NULL_KEY when permissions are declined

Examples

See Also

Events

•  run_time_permissions

Functions

•  llGetPermissions
•  llRequestPermissions

Deep Notes

All Issues

~ Search JIRA for related Issues
   llGetPermissionsKey() doesn't return NULL_KEY when permissions are declined

Signature

function key llGetPermissionsKey();