Activates an user and sends them an activation mail. Throws an error if the user could not be found. Does nothing if the user is already activated.
ActivateUser( UserId )
UserId
The ID of the user to activate.
Type: Guid
Void
Takes a GroupId and a UserId as input and adds a user to a group.
Void AddUserToGroup(
Guid GroupId,
Guid UserId
)
GroupId
The ID of the group the user should get associated with.
Type: Guid
UserId
The ID which identifies the user.
Type: Guid
Void
AddUserToOffice
Takes an OfficeId and a UserId as input and adds a user to an office.
OfficeId
The ID of the office the user should get added to.
Type: Guid
UserId
This ID which identifies the user.
Type: Guid
Void
Creates and returns an user with the given information. Throws an error if an user with the same login name already exists.
OfficeId
The ID of the office to create the user for (the executing user must have access to it).
Type: Guid
LoginName
The e-mail address of the new user (must be unique).
Type: String
FirstName
The first name of the new user.
Type: String
LastName
The last name of the new user.
Type: String
NickName
The nick name or abbreviation of the new user.
Type: String
Language
The language of the new user.
Type: Language
Object
DeleteUserFromGroup
Takes a GroupId and a UserId as input and deletes a user from a group.
GroupId
The ID of the group the user should get deleted from.
Type: Guid
UserId
The ID which identifies the user.
Type: Guid
Void
DeleteUserFromOffice
Takes an OfficeId and a UserId as input and deletes a user from an office.
OfficeId
The ID of the office the user should get deleted from.
Type: Guid
UserId
This ID which identifies the user.
Type: Guid
Void
Creates and returns an user with the given information. Throws an error if an user with the same login name already exists.
Level
PlatformAdministrator
OfficeId
The ID of the office to create the user for (the executing user must have access to it).
Type: Guid
LoginName
The mail address of the new user (must be unique).
Type: String
FirstName
The first name of the new user.
Type: String
LastName
The last name of the new user.
Type: String
NickName
The nick name or abbreviation of the new user.
Type: String
Language
The language of the new user.
Behavior:
Creates an user like the 'Admin Center' creates user: not activated or confirmed.
User can only created for the specified office, however, user must be unique throughout the platform.
Object
Activates an user and sends them an activation mail. Throws an error if the user could not be found. Does nothing if the user is already activated.
Level
PlatformAdministrator
UserId
The ID of the user to activate.
Type: Guid
Behavior:
Activates an user like the 'Admin Center' activates user: sending the activation mail to change password and confirming the user.
Only user to which the current executing user has access to can be activated.
None