Based on info supplied it will return true yes. However, as Blam says just one test should be sufficient to ascertain what the behaviour is
WindowsPrincipal.IsInRole takes into account groups inside groups?
-
05-12-2021 - |
Question
If I have an principal that pertains to a group that pertains to a group that pertains to a group that is added to the built it role "Administrator" will a call to principal.IsInRole(WindowsBuiltInRole.Administrator)
return true?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow