To transition from using SOAP to the API, you need to configure two site properties found under the FeatureToggleManagement_CS module:
Site.EnableLifetimeServiceAccount (boolean): This property enables or disables the synchronization of Roles and Teams using the REST API.
Site.LifetimeServiceAccountToken (string): This property stores the token required for the REST API authentication.
Steps to Configure
1 - Create a Service Account in Lifetime:
2 - Set EnableLifetimeServiceAccount to true:
This action enables the synchronization of Roles and Teams using the REST API.
3 - Store the Service Account Token:
After creating the service account, you will receive a token.
Important: Ensure you store this token securely, as it will only be displayed once.
Summary
By setting EnableLifetimeServiceAccount to true and providing a valid LifetimeServiceAccountToken, you can switch from SOAP to the REST API for synchronizing Roles and Teams. Ensure you create and store the service account token from Lifetime's User Management -> Service Accounts.
Please read the documentation on how to install and how to use this tool.