Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/12/2024 07:09 AM - edited 09/12/2024 07:10 AM
Hi Team,
As per the saviynt only account owner can modify the service account. As we want the users that are assigned to one savrole should also has the access to modify service account.
To achieve that we have created run time analytics to get the service accounts with the users assigned to that role.
Using SAV4SAV rest with account import we are calling the analytics and mapping the securitysystem, endpoint username and rank and using update account we are trying to add the owners to the account. Result of first call is as below.
responseText:{"displaycount":5,"msg":"success","totalcount":5,"results":[{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"121"},{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"122"},{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"123"},{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"124"},{"accountid":"TestAccount","ownerRank":"5","systemName":"Test","name":"TestAccount","endPointName":"Test","ownerAction":"add","username":"125"}],"errorcode":"0"}
And we have to use the above result as a input to the update account API as below :
09/12/2024 07:23 AM