- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
06-27-2019 10:45 PM
06-28-2019 12:37 AM
https://<IIS_Server_Ip>/PasswordVault/WebServices/PIMServices.svc/Applications/{AppID}
06-28-2019 01:48 AM
Hi @s Sha,
If you want to have the list of safes the AppID has access to:
$app = $token | Get-PASApplication -AppID TheAppIDOfYourApplication
$ApplicationRightsOnSafes = $token | Get-PASSafe | ForEach-Object {
$token | Get-PASSafeMember -SafeName $_.SafeName | Where-Object {$_.Username -eq $app.AppID}
}
Write-Ouput $ApplicationRightsOnSafes
If you want to know which accounts this Application has access to, you then just need to search against the safes listed in $ApplicationRightsOnSafes:
$ApplicationRightsOnSafes | ForEach-Object {
$SafeName = $_.SafeName
$token | Get-PASAccount -filter "safeName eq $SafeName"
}
07-02-2019 10:33 PM
@Sebastien Siegl Thank you for sharing the details however, this one is the query rather than the API. i require the API.
07-03-2019 01:43 AM
@s Sha - from the information provided, multiple API calls will be required.
As per the answer from @Sebastien Siegl :
07-03-2019 05:48 PM
Hello @Pete Maan thank you for sharing your inputs however, from the first API i will get application detail only but for the get safe api it will share the details either of all the safes or will require me to specify some safe details whereas i am looking for the detail of those safes which are aligned to one specific app id.
07-04-2019 01:24 AM
@s Sha - I think you have been shown the way to collect the data which will allow you to find the answer. If you need a tool to list safes aligned to one specific app id - with the API's provided you can build it.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

