Group¶
- Portal module
- Group extension¶
- Group/Get¶
Gets the groups the current user belongs to.
Authentication: - Logged in – You need to be logged in to use this feature
Returns: A list of groups
- Group/Create¶
Creates a new group.
Authentication: - Logged in – You need to be logged in to use this feature
- CreateGroup permission – Requires the SystemPermissons.CreateGroup permission
Parameters: - name – The name of the new group
- systemPermission (integer) – the permissions of the new group (an integer from the SystemPermissons struct)
Returns: The created group
- Group/Delete¶
Deletes a group.
Authentication: - Logged in – You need to be logged in to use this feature
Parameters: guid – The GUID of the group that should be deleted
Returns: Number of affected rows in the database
- Group/Update¶
Updates a group.
Authentication: - Logged in – You need to be logged in to use this feature
Parameters: - guid – The GUID of the group that should be updated
- newName – The (new) name of the group
- newSystemPermission (integer, optional) – new permissions for the group (an integer from the SystemPermissons struct)
Returns: Number of affected rows in the database