Last post Jan 23, 2014 03:04 AM by Starain chen - MSFT
Jan 22, 2014 10:52 AM|tvb2727|LINK
Is there another property that I can use to pull the user name (joe.b.smith) from the User Principle in Active directory?
Right now I am using: user.SamAccountName
Jan 23, 2014 03:04 AM|Starain chen - MSFT|LINK
Thanks for your post!
Please try to add the System.DirectoryServices.AccountManagement namespace and using this code below:
For more information, please refer to:
# Get a User's Full Name