Get GUID from Active Directory Using

Posted on 2011-10-05
Last Modified: 2012-05-12
I have a VB ASP.Net web application, in which the user logs in via Active Directory. I am looking to retrieve the GUID from the logged in user using VB. I am lost in retrieving the GUID; I am not sure if it is possible. Do I have to get the username first and then do a lookup to get the GUID? Any advice is much appreciated.
Question by:leevjohn
    LVL 53

    Accepted Solution

    LVL 26

    Expert Comment

    by:Anurag Thakur
    the link shows how to fetch information from the active directory and when the information is fetched how it has to be retrieved

    once the information has been brought then you can use SID to retrieve the GUID

    Author Closing Comment

    This is good solution and in VB.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now