Domain User Lookup
If you re using net 3 5 or newer you should check out the principalsearcher class.
Domain user lookup. Search domain availability or expiration. You need not enter your credentials if you re logged on as a domain user. If you are looking for a domain whois domain lookup can tell you if it s already owned by another entity and provide contact information for the domain name owner.
Depending on the registrar you can see various information like who is it registered to when it was registered and when it expires where the dns is hosted and more. You do however need the ip address or host name of a domain controller. List specific known user account.
In most domains the member attribute of the domain users group is empty and it is safe to assume that all users belong to this group. Learn how to keep your own domain whois registration information private. Including when the users password will expire of it it s expired.
Your whois lookup results will reveal who or what entity owns or manages that domain name including their contact information such as name phone number and address. This article gives the steps to check active directory user account status from command line. If you need to query for all users that have domain users designated as their primary search for all users whose primarygroupid attribute is 513.
Similar to how all houses are registered with a governing authority all domain name registries maintain a record of information about every domain name purchased through them along with who owns it and the date till which it has been purchased. This test will return whois registration results for a domain name. It s likely this is the same as your dns server so just fire up nslookup and try the address displayed there.
In some cases you will be able to go the registrar s site to get more information.