OsInviteToGroup
From OpenSimulator
(Difference between revisions)
Line 8: | Line 8: | ||
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> | ||
− | Returns TRUE, if the invitation could be sent, otherwise FALSE. | + | Returns TRUE, if the invitation could be sent, otherwise FALSE.<br> |
+ | Since version 0.9.2, it will return TRUE (ie 1) if user is already member of the group. | ||
+ | |||
|threat_level=VeryLow | |threat_level=VeryLow | ||
|permissions=${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | |permissions=${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
Revision as of 12:45, 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. 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 function may fail during a short time, after changing group roles |