Difference between revisions of "LlGetPermissionsKey"

From Second Life Wiki
Jump to navigation Jump to search
m
(oh gods, please someone revert this.)
Line 1: Line 1:
{{LSL_Function
{{Issues/SVC-4862}}{{LSL_Function
|func_id=137|func_sleep=0.0|func_energy=10.0
|func_id=137|func_sleep=0.0|func_energy=10.0
|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 granted.
|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_desc
|func_desc=Used with [[llGetPermissions]] to determine who has granted {{LSLGC|Permissions/Script|permissions}} and which permissions have been granted.
|Return_text=of the avatar that last granted {{LSLGC|Permissions/Script|permissions}} to the script.
|Return_text=of the '''agent''' parameter used in the last [[llRequestPermissions]] call (regardless of success).
|spec
|spec
|caveats
|caveats=
*This information does not survive script reset.
|constants
|constants
|examples
|examples

Revision as of 13:32, 29 September 2009

Summary

Function: key llGetPermissionsKey( );

Used with llGetPermissions to determine who has granted permissions and which permissions have been granted.
Returns the key of the agent parameter used in the last llRequestPermissions call (regardless of success).

Returns NULL_KEY if permissions were never requested.

Caveats

  • This information does not survive script reset.

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();