How to validate Out Of Band OU account in Active directory

Rai, RabinsX 21 Reputation points
2022-08-18T08:58:19.017+00:00
Get-ADUser -Identity "username" 

Above command getting the User details. Which property I should look for Out OF Band OU

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,725 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,721 Reputation points
    2022-08-18T15:41:45.343+00:00

    Hello there,

    There are two approaches to validate user credentials in Active Directory using C#

    -System.DirectoryServices.AccountManagement
    -System.DirectoryServices

    This article describes how to use the DirectoryServices namespace to add a user to the local system and a group in Visual C#. Add a user to the local system by using directory services and Visual C sharp https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/csharp/language-compilers/add-user-local-system

    I hope this information helps. If you have any questions please let me know and I will be glad to help you out.

    --------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.