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?
Asked
Active
Viewed 188 times
1

Ignacio Soler Garcia
- 21,122
- 31
- 128
- 207
-
Did you consider just testing it? – paparazzo Dec 07 '12 at 19:12
-
What it does and what it should do are different things. I would like to avoid testing the method on every platform to find it's behavior. – Ignacio Soler Garcia Dec 07 '12 at 19:15
1 Answers
1
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

The Unculled Badger
- 760
- 4
- 18