Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javascript active directory user / groups query

Is it possible to query AD from javascript?

I'm working from within SharePoint, and I can get the current SharePoint user's information using some js I found on a blog.

But I'm wondering if I can then query AD to see if the current user is in a specific AD group.

like image 596
vwfreak Avatar asked Jan 08 '10 20:01

vwfreak


1 Answers

I think you'd be better off writing a quick asp.net page that you could call via AJAX and get some JSON back. .NET directory services class are going to be much better at talking to Active Directory than javascript, unless you can find a js library specifically for this (which I haven't been able to find).

like image 106
squillman Avatar answered Sep 27 '22 18:09

squillman