Valid8


validazione lato client tramite jquery.
Link
Demo

How to Query Active Directory (AD) from SQL Server

sp_addlinkedserver 'ADSI', 'Active Directory Service Interfaces', 'ADSDSOObject', 'adsdatasource'



SELECT * FROM OpenQuery
(
ADSI,   --Name of the linked server for Active directory, created in step 1
'SELECT title, displayName, sAMAccountName, givenName  
FROM ''LDAP://DC=TestDomain''   
where objectClass = ''User'''       
)
«agosto»
domlunmarmergiovensab
2627282930311
2345678
9101112131415
16171819202122
23242526272829
303112345