There are a several ways to do this but so far my favorite is (from a command prompt):
wmic
useraccount where name=”XXX” get caption, domain, sid
Replace XXX with the user name (without the leading “<domain>\).You’ll need the wmic tool installed if it isn’t already on the system.
No comments:
Post a Comment