OsInviteToGroup

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
The user with the given key has to be online in that region.<br>
 
The user with the given key has to be online in that region.<br>
 
The user gets a normal group invitation, showing the owner of the object as sender. The invitation can be accepted or rejected and the user can open the corresponding group window.<br>
 
The user gets a normal group invitation, showing the owner of the object as sender. The invitation can be accepted or rejected and the user can open the corresponding group window.<br>
Note: this may fail immediately after changing group roles.<br>
+
 
 
Returns TRUE, if the invitation could be sent, otherwise FALSE.
 
Returns TRUE, if the invitation could be sent, otherwise FALSE.
 
|threat_level=VeryLow
 
|threat_level=VeryLow
Line 13: Line 13:
 
|delay=0
 
|delay=0
 
|ossl_example=
 
|ossl_example=
|additional_info=This function was added in 0.7.4-post-fixes   
+
|additional_info=This function was added in 0.7.4-post-fixes<br>
 +
this may fail immediately after changing group roles  
 
}}
 
}}

Revision as of 12:25, 8 October 2020

integer osInviteToGroup(key user)
Invite the given user to the group the object is set to.

The object must have a group set and can not be group owned.
The object owner must have the right to invite new users to the group the object is set to.
The user with the given key has to be online in that region.
The user gets a normal group invitation, showing the owner of the object as sender. The invitation can be accepted or rejected and the user can open the corresponding group window.

Returns TRUE, if the invitation could be sent, otherwise FALSE.

Threat Level VeryLow
Permissions ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Notes
This function was added in 0.7.4-post-fixes

this may fail immediately after changing group roles

Personal tools
General
About This Wiki