Timeline for Check user exist in active directory group without RunWithElevatedPrivileges
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 30, 2015 at 15:04 | comment | added | Waqas Sarwar MVP♦ | Glad to solve your problem | |
Mar 30, 2015 at 15:02 | comment | added | Maddy | Your link saved me and directed me to the correct path - 'SPGroup.ContainsCurrentUser' does the trick. Actually this is exact thing I am looking for - cosmicice.blogspot.com/2009/03/… | |
Mar 27, 2015 at 21:10 | comment | added | Waqas Sarwar MVP♦ | I think it is safe as well if use in your code block and follow the tips mentioned above. why not you directly get the information from AD directly, as mentioned in one of the anwser? arunjameskc.wordpress.com/2010/08/04/… | |
Mar 27, 2015 at 21:05 | comment | added | Maddy | Excellent! Just to clarify - what about getting users active directory groups using SPSecurity.RunWithElevatedPrivilege? As you said "use it to make network calls under the application pool identity". There would not be any security harm in touch AD right? | |
Mar 27, 2015 at 20:55 | history | answered | Waqas Sarwar MVP♦ | CC BY-SA 3.0 |