c# - Searching Active Directory using Sid -


can user object using user's sid ?

does samaccountname unique every user in active directory ?

you can bind object directly given sid this:

var entry = new directoryentry("ldap://<sid=s-your-sid-here>"); 

both sid , samaccountname unique in domain.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -