Difference between revisions of "LlGetPermissionsKey"

From Second Life Wiki
Jump to navigation Jump to search
(This is what it should be IMO - the rest is SVC-4862)
(The described behavior was incorrect; if an avatar rejects a permission request, this function will return the rejecting avatar's key. See SVC-6229 and VWR-20485 for details.)
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 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 granted or declined.
|func_desc
|func_desc
|Return_text=of the avatar that last granted permissions to the script.
|Return_text=of the avatar that last granted or declined permissions to the script.
|spec
|spec
|caveats
|caveats

Revision as of 08:24, 25 August 2010

Summary

Function: key llGetPermissionsKey( );

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

Returns NULL_KEY if permissions were never granted or declined.

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