How to get AD windows account and update in current user table

Gani_tpt 1,466 Reputation points
2024-03-12T12:48:44.19+00:00

currently i am working in industrial organization. i have been developing some software based on my company requirements.

We are facing issue while logging in the application. Because, every user has different associate number and different windows number.

we want to map both associate number and windows id number in one table.

I have below associate table column

Table Name : Associate_table (Two columns : Associate_No, Windows_Id)

Associate_No Windows_Id


24569 MAoo24569 (ex : windows id)

357867

109098

29876798

283726

I want to get every associate windows id and update in windows_Id column for the corresponding Associate_No.

How to get organization AD details and update the above scenario..?

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,801 questions
{count} votes