Delete(IUser):Void
Deletes a user.
Users can only be deleted by users with the role of user manager or administrator.
The hierarchy of the users is to be taken into consideration here.
- Normal users can be deleted by user managers.
- User managerscan be deleted by administrators.
- Administrators can only be deleted by the user admin.
Users in onion.net are not deleted completely from the system. They must remain in the system since they could be used as users in the properties of data objects, schemas, versions or structural modifications. Any permissions are withdrawn from deleted users and a prefix placed in front of the username. Logging onto the system is no longer possible and these users are also no longer listed in collections. They can only be called in the user management via the Id of the user.
Return type: System.Void
Parameter
- user
Type: Onion.Client.IUser
This parameter is the user to be deleted.