Product: PowerShell Universal Version: 1.5.14 UD 3
I’ve got PSU and a UD running in IIS with Windows Authentication working.
Prior to this I was using the Authetication.ps1 and Roles.ps1 files to authenticate access to PSU and the UD - I could assign users to the PSU roles (Administrator/Operator/Reader) based on whether they were in certain AD groups (via the Roles.ps1 file). Then in the UD pages I was seting access based on which PSU role you were a member of. That was all good.
I want to achieve the same but now that I have single-sign-on happening via Windows Authentication I don’t think the Roles.ps1 files is referenced?
So my question is how do I assign the logging in user to a PSU role, when using Windows Authentication via IIS?
The $User variable is DOMAIN\User.Name
The $Roles variable is a list of all the SIDs of AD groups that the user is a member of
I’ve been going around in circles on the forums trying to suss it out but I think I might be looking at a lot of info related to v2 of UD.