844-NOGALIS (844-664-2547)
Nogalis, Inc.
  • Link to Facebook
  • Link to X
  • Link to LinkedIn
  • Link to Mail
  • Company
    • News, Events and Articles
    • About Us
  • Products
    • Infor Lawson Data Archive
    • PeopleSoft Data Archive
    • Oracle Data Archive
  • Services
    • Infor Lawson Support
    • Infor Lawson / CloudSuite Consulting
  • Education & Training
  • Support
  • Contact Us
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

How to Get a List of Users from AD to Compare against Users in Lawson

Articles, Frontpage Article, News

This process is going to assume you already know how to build a Lawson CSV report of users to compare against. LSA Report Maintenance has these report options available for this.

 

  1. Login into your windows machine and open Powershell as an Administrator.
  2. Type in this command: Get-ADUser -Filter * -SearchBase “dc=domain,dc=local” | select Name,SID | Export-CSV
    1. dc=domain,dc=local will need to be updated to match your organizations.
    2. select Name,SID will extract the users Name in AD (typically First and Last Name) and their Security ID.
    3. Since we are doing this to compare against Lawson users (assuming you’re using SSOP), you want to also include the sAMAccountName, this is login name the users use to login into their windows machine.
    4. Export-CSV Requires a path after it including filename,
      • example: Export-CSV C:\ExportDirectory\ADUserList.csv
  3. For example, if you only wanted the Name and sAMAccountName use the command below:
    1. Get-ADUser -Filter * -SearchBase “dc=Yourdomain,dc=Yourlocal” | select Name,sAMAccountName | Export-CSV C:\ExportDirectory\ADUserList.csv
      • NOTE: If you type dc=domain,dc=local incorrectly, Powershell will list the allowed partition(s), see screenshot below.
  4. If you only want Name and SID use the command below:
    1. Get-ADUser -Filter * -SearchBase “dc=Yourdomain,dc=Yourlocal” | select Name,SID | Export-CSV C:\ExportDirectory\ADUserList.csv

You should now be able to acquire the CSV file in your C:\ExportDirectory\ that you outputted to.

Good luck!

Retiring Lawson, PeopleSoft, or Oracle? APIX archives the entire application — every table, every year, attachments and security included — into your own AWS account in about 30 days, so you can decommission the legacy system and keep full access to the history.

See how the APIX ERP archive works →

10/28/2021
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://www.nogalis.com/wp-content/uploads/2021/10/How-to-Get-a-List-of-Users-from-AD-to-Compare-against-Users-in-Lawson.jpg 470 470 Angeli Menta https://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.png Angeli Menta2021-10-28 08:27:252021-10-21 11:33:21How to Get a List of Users from AD to Compare against Users in Lawson

LEGACY ERP DATA ARCHIVE SOLUTION



Discover how our clients are leveraging AWS services to archive their Legacy ERP data and provide ubiquitous access to users via a light-weight, secure, and read-only web interface. Secure, Fast, Reliable, and Cost Effective. That is the promise of APIX. Follow the link below to find out more and book a discovery call with our data archive specialist.

BOOK DEMO

© Copyright - Nogalis, Inc. 2026
  • Legal
  • Privacy
  • Contact Us
Link to: The Cornell Peter and Stephanie Nolan School of Hotel Administration Partners with Infor Link to: The Cornell Peter and Stephanie Nolan School of Hotel Administration Partners with Infor The Cornell Peter and Stephanie Nolan School of Hotel Administration Partners... Link to: 3 Ways Mixed Reality Is Changing Healthcare Link to: 3 Ways Mixed Reality Is Changing Healthcare 3 Ways Mixed Reality Is Changing Healthcare
Scroll to top Scroll to top Scroll to top