samwoo Posted December 12, 2023 Share Posted December 12, 2023 Good afternoon, I would like to request for a supported API that will unlink one or more "Shared Users" to a given "Asset ID". Application: Service Manager Entity: Assets Name: assetSharedUsersRemove Request Parameters: assetId <string/number> <required> userId <string array> <required> Response Parameters: userRemovedCount <string/number> exceptionName <string> exceptionSummary <string> Thanks, Samuel Wood Link to comment Share on other sites More sharing options...
samwoo Posted December 12, 2023 Author Share Posted December 12, 2023 Use case: We run external PowerShell scripts that goes through the databases for multiple Applications on the estate. We run automatically these to check if the users still exist in Active Directory, as well as doing other checks for example if there is no email address etc. The outputs of these checks are a HTML file that gets logged into Hornbill via the Email Routing rules and assigned to the relevant team for that Application. If a User does not exist in Active Directory and are inactive in the Application but is still a "Shared" user against the Asset in Hornbill, then the process also removes the User to the Asset in Hornbill. This is also done via the Business Process as well during our Movers and Leaver processes. Currently, there are no supported API's related to Shared Users against Assets, we are currently using the old API's for these processes. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now