net user <username> /domain
See S/O for more info
net group <groupname> /domain
LDAP Attibutes for Active Directory
I've been involved with creating software for most of my life.
Buy the book from the Pragmatic Bookshelf now!