Felipe Ardila
Felipe Ardila

Reputation: 3004

How can get in C# the AD group list information for a specific user who has logged into a website through ADFS and SAML?

I need to get the AD group list information for a specific user who has logged into a website through ADFS and SAML. Anybody who could help me with this issue.

Upvotes: 1

Views: 650

Answers (1)

Felipe Ardila
Felipe Ardila

Reputation: 3004

I found the answer in other post here :

How to get user groups from on-premise ADFS claims

So, the ADFS has to be configured(Add a rule "Send LDAP Attributes as Claims") to send back the LDAP information following the authentication process. To know how do to it, go to this Microsoft website:

https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/operations/access-control-policies-in-ad-fs

Upvotes: 1

Related Questions