TsgcWSPClient_E2EE › Methods › DeleteGroup
Deletes an existing encrypted group.
function DeleteGroup(const aGroup: string; aTimeout: Integer = 10000): Boolean;
| Name | Type | Description |
|---|---|---|
aGroup | const string | Name of the group to delete. |
aTimeout | Integer | Maximum time in milliseconds to wait for the server acknowledgment (default 10000). |
True when the server confirmed the deletion within the timeout, False otherwise (Boolean).
Requests the server to remove the specified group. Only the group owner is allowed to delete it; other members should call LeaveGroup instead. After success the server fires OnE2EEGroupDeleted on every client that was part of the group.
if oE2EE.DeleteGroup('TEAM01') then
ShowMessage('group removed');