none
Check Users from Active Directory RRS feed

  • Question

  • Hi,

    Web Part  correctly checks for email ID of user who are boarded and who are not..but if user wants to check using user ID suppose abc12..which is in Active directory also..then it always give not on boarded..so how to check using both email and its user ID.




    • Edited by varshagupta Monday, October 21, 2019 5:17 AM
    Monday, October 21, 2019 5:16 AM

Answers

All replies

  • Hi,

    What do you mean by user ‘on board’?

    You could access AD users by System.DirectoryServices Namespace also.

    https://www.codeproject.com/Tips/599697/Get-list-of-Active-Directory-users-in-Csharp

    https://www.ianatkinson.net/computing/adcsharp.htm#ex1

    Best Regards,

    Lee


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    • Marked as answer by varshagupta Wednesday, October 30, 2019 5:31 AM
    Tuesday, October 22, 2019 6:55 AM
  • Hi,

    I am checking to see how things are going there on this issue. Please let us know if you would like further assistance.

    You can mark the helpful post as answer to help other community members find the helpful information quickly.

    You can also share your own solution here and mark it as answer, so it may help others who has similar requirement.

    Best Regards,

    Lee


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Friday, October 25, 2019 9:19 AM