开发者

Get the type of any user from active directory

Az you know every user that is defined in active directory has Type(Rule) for example Admin or Limit user,i have FirstName+LastName of any users on my local network and i want to get Type of any users from server's active directory.开发者_开发问答(domain/user only or domain/admin a person is ).what can i do?? for WinsForm.


I've got code I use to get Active Directory (AD) data (good article on Code Project >> HERE <<), but I've never come across a way to read that in.

It could be that this is a custom defined field that your Network Administrator would have to set up. That would keep all the fly-by-night hackers from writing updates to their accounts.

What version of AD are you running? Here's some basic DirectoryEntry information from Microsoft: http://msdn.microsoft.com/en-us/library/system.directoryservices.directoryentry_members(v=vs.71).aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜