...
See below for an explanation of the different SQL command types
Info |
---|
The CoreOne Suite - Core service has to be restarted after each change of the SQL parameters for it to take effect. |
Identity methods
Info |
---|
The Parameter IDENTITY_ID ist hard-coded and can’t be changed/defined. |
System connector method | SQL command type | Input parameters | Excepted return value | Description |
---|---|---|---|---|
SQL CreateIdentity | Stored procedure |
|
| Creates the user in the target system |
SQL GetIdentityParameters | Select query (function) |
|
| Returns all the user parameters of a user |
SQL CheckIdentityExists | Select query (function) |
|
| Checks if the user in the target system exists, if rows are returned → true, else false |
SQL FindObjectIdentifiersByAttributes | Select query (function) |
|
| Finds object identifiers of users by their attribute values. Returns all the object identifiers of users where the attributes values were found |
SQL UpdateIdentity | Stored procedure |
| - | Updates a user with the attribute values |
SQL DeleteIdentity | Stored procedure |
| - | Deletes a user by their identity identifier |
SQL ValidateCredentials | Not implemented | - | - | - |
SQL IsIdentityActivate | Select query (function) |
|
| Checks if the user in the target system is active, if rows are returned → true, else false |
SQL ActivateIdentity | Stored procedure |
| - | Activates a user in the target system |
SQL DeactivateIdentity | Stored procedure |
| - | Deactivates a user in the target system |
SQL SetIdentityPassword | Not implemented | - | - | - |
SQL IsPropertyValueUnique | Select query (function) |
|
| Checks if a property value is unique in the target system. There are 3 cases that gets checked to determine if the property value is unique:
|
SQL GetIdentity | Select query (function) example:
|
|
| Gets a single user with the attribute values |
...
This can be a simple SELECT query from a table or a view. It’s also possible to call a function inside a SELECT query.
Note |
---|
There mustn’t be a semicolon at the end of the query |
Examples:
SELECT * FROM t.users;
SELECT * FROM v.users;
SELECT * FROM get_users('all');
Stored procedure
If a stored procedure is needed for the SQL parameter, you have to specify the name of the stored procedure. The input and output parameters will be added in the system connector and are defined below.
...