Mashup Builder > Data Services and Bindings > Programmatically Enabling and Disabling Users
Programmatically Enabling and Disabling Users
Users can be programmatically enabled and disabled by using the EnableUser and DisableUser services.
A possible use case for using these services is if you want to enforce usage limits for users. If they exceed usage limits, you can disable their access for a limited time.
Service Notes
You do not need to be an administrator user to use this functionality, but visibility must be set accordingly.
When using the DisableUser service, current sessions are not interrupted. For example, if a user is disabled while they are in a current session, they will not be logged out. Instead, they will be unable to log back in after logging out.
The services are located within a user and can be filtered through the security services.
Must be dynamic.
Was this helpful?