0

Using jquery and/or spservices, how can I know whether the current user is a member of an AD group?

I have found this, but I think it only checks for membership in a Sharepoint group.

marked as duplicate by Eric Alexander Nov 24 '15 at 3:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

You can't, this comes up often. jQuery/SPServices/SP REST do not have any means of diving into local AD to find membership.

  • I think you are right about this. I was just hoping that the info just on the current user would be somewhere gettable. – bgmCoder Nov 24 '15 at 4:04
  • Maybe I can add some aspx code in the master page that does determines if the user is a member of a certain group and sets a flag that is accessible by javascript? I am building a helpdesk, and I want to present different options if members of a certain group use it. – bgmCoder Nov 25 '15 at 2:51
  • Yes, you'd have to build your own server side API that you reference somehow. – Eric Alexander Nov 25 '15 at 12:54
  • I figured out a way and posted an answer in the duplicate: sharepoint.stackexchange.com/questions/144488/… – bgmCoder Nov 25 '15 at 16:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.