WCF User Service Documentation
The User Service handles all the User related operations. This article describes all the available methods.
This WCF web service handles all the User related operations. The following methods are available:
GetCurrentUserDetails
Syntax |
|
Description | Retrieves all available details about the currently logged in user |
Parameters |
|
Return Value | The UserDetailsDTO object, containing:
|
GetAllUsers
This method follows the WEBfactory i4scada Security Protocol.
Syntax |
|
Description | Retrieves all the users |
Parameters |
|
Return Value | A list of UserDTO objects, each containing:
|
GetAllUsersByToken
Syntax |
|
Description | Retrieves all the users using the security token |
Parameters |
|
Return Value | A list of UserDTO objects, each containing:
|
GetAllUserDetails
This method follows the WEBfactory i4scada Security Protocol.
Syntax |
|
Description | Retrieves all the user details for all existing users |
Parameters |
|
Return Value | A list of UserDetailsDTO objects, each containing:
|
GetAllUserDetailsByToken
Syntax |
|
Description | Retrieves all the user details for all existing users, using the security token |
Parameters |
|
Return Value | A list of UserDetailsDTO objects, each containing:
|
GetAllUsersWithSameAuthorizationGroups
This method follows the WEBfactory i4scada Security Protocols.
Syntax |
|
Description | Retrieves all the users which have the same authorization groups |
Parameters |
|
Return Value | A list of UserDTO objects, each containing:
|
GetAllUsersWithSameAuthorizationGroupsByToken
Syntax |
|
Description | Retrieves all the users that have the same authorization groups using the security token |
Parameters |
|
Return Value | A list of UserDTO objects, each containing:
|
GetAllUserDetailsWithSameAuthorizationGroups
This method follows the WEBfactory i4scada Security Protocol.
Syntax |
|
Description | Retrieves all the user details for all users that have the same authorization groups |
Parameters |
|
Return Value | A list of UserDetailsDTO objects, each containing:
|
GetAllUserDetailsWithSameAuthorizationGroupsByToken
Syntax |
|
Description | Retrieves all the user details for all users that have the same authorization groups, using the security token |
Parameters |
|
Return Value | A list of UserDetailsDTO objects, each containing:
|
InsertUser
This method follows the WEBfactory Security Protocols.
Syntax |
|
Description | Adds a new user based on the provided model |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
InsertUserByToken
Syntax |
|
Description | Adds a new user based on the provided model and security token |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
UpdateUser
This method follows the WEBfactory i4scada Security Protocols.
Syntax |
|
Description | Updates an existing user based on the provided model |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
UpdateUserByToken
Syntax |
|
Description | Updates an existing user based on the provided model and security token |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
DeleteUser
This method follows the WEBfactory i4scada Security Protocol.
Syntax |
|
Description | Deletes an existing user based on the provided ID |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
DeleteUserByToken
Syntax |
|
Description | Deletes an existing user based on the provided ID and security token |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
ChangeUserPassword
This method follows the WEBfactory i4scada Security Protocol.
Syntax |
|
Description | Changes the password of an existing user based on the provided ID |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
ChangeUserPasswordByToken
Syntax |
|
Description | hanges the password of an existing user based on the provided ID and security token |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
ChangeCurrentUserPassword
This method follows the WEBfactory i4scada Security Protocol.
Syntax |
|
Description | Changes the password of the currently logged in user based on the provided parameters |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |
ChangeCurrentUserPasswordByToken
Syntax |
|
Description | Changes the password of the currently logged in user based on the provided ID and security token |
Parameters |
|
Return Value | The status of the operation: true for success or false for error |