In order to get SID for particular domain user following command can be used:\n
wmic useraccount where (name='USER_NAME' and domain='DOMAIN_NAME') get sid
In order to get SID for particular domain user following command can be used:\n
wmic useraccount where (name='USER_NAME' and domain='DOMAIN_NAME') get sid