S
Sameh Ahmed
Hello there
I am working on an application in which I have to allow certain features
based on Active directory group memberships.
so on the Form Load event, I get the user running the application using
"System.Security.Principal.WindowsIdentity.GetCurrent.Name", then I Search
for this user in active directory and get his group memberships and compare
them to the group allowed to run the application.
This works fine, but the problem is that the user must be a member of this
group explicitly, and not a member in a group that is a member in the
allowed group.
is there a way to check if a user is a member of a group explicitly or
implicitly (Nested group)?
Thanks in advance
Regards
Sameh
I am working on an application in which I have to allow certain features
based on Active directory group memberships.
so on the Form Load event, I get the user running the application using
"System.Security.Principal.WindowsIdentity.GetCurrent.Name", then I Search
for this user in active directory and get his group memberships and compare
them to the group allowed to run the application.
This works fine, but the problem is that the user must be a member of this
group explicitly, and not a member in a group that is a member in the
allowed group.
is there a way to check if a user is a member of a group explicitly or
implicitly (Nested group)?
Thanks in advance
Regards
Sameh