The following script will show trustee and Access Template details linked to a specific User object:
#######################################################################################################################
The below script is known to work successfully; however, it has not been officially tested by our Quality Control.
If any of these instructions are changed and/or incorrectly used, intentionally or unintentionally, this solution
becomes unsupported by our Support and Development. Support and Development recommend always making a backup of
the current database prior to execution of any script(s) that may modify it. For customization of the Active Roles
Solution, please contact our Professional Services Organization.
#######################################################################################################################
Clear-host
Connect-QADService -Service localhost -Proxy
$Object = Get-QADObject -Type user -Identity "CN=Lucia Suarez,OU=Users,OU=Cork,OU=Offices,DC=onisupport,DC=info" -DontUseDefaultIncludedProperties -IncludedProperties edsvaATLinksEffective
$EffectivePermissions = $Object.edsvaATLinksEffective
ForEach($EffectivePermission in $EffectivePermissions)
{
Get-QARSAccessTemplateLink -Identity $EffectivePermission -DontUseDefaultIncludedProperties -IncludedProperties AccessTemplate,Trustee| format-List DirectoryObject, AccessTemplate, Trustee
}
-