Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - SetWorkspaceAdministration
Toggles workspace administration privileges for the current apiKey.
This privilege influences the possibility to manage the workspace in the CHILI Editor. Inside the editor, various items have settings referencing "Administrators". This means a user which has workspace administration privileges.
By toggling the privilege, you can have a single CHILI user (potentially with "Environment Administrator" privileges) to log in the webservices (using GenerateApiKey) for all of your own users.
NOTE: for backward compatibility, setting workspace administration to false also sets content administration to false. This can be switched on again using the SetContentAdministration function if applicable.
Declaration
public string SetWorkspaceAdministration ( string apiKey, bool allowWorkspaceAdministration );
Arguments
Name |
Type |
Description |
---|---|---|
apiKey |
The API key previously generated by calling the GenerateApiKey function |
|
allowWorkspaceAdministration |
bool |
Set workspace administration to true or false |
Returns
An XML document with DocumentElement 'ok' (<ok/>), or an exception
No access when API Key locked
true
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security