Does PSU/UA accept additional claims?
For instance, if I sent the Name,email address, & Role; would I be able to reference the email address?
I tried looking at the $ClaimsPrincipal, but it looks like I only see Name.
Anyone have any luck on this? Trying to avoid making a call via Get-AdUser.
Thank you,
Mike
Product: PowerShell Universal Version: 4.1.4
Recommended Answer
Solved, this is the way I did it.
($ClaimsPrincipal.Claims | Where-Object { $_.Type -match ‘.email.’}) .Value
Solved, this is the way I did it.
($ClaimsPrincipal.Claims | Where-Object { $_.Type -match ‘.email.’}) .Value