Active Directory / Single Sign On (SSO) – Get a user’s SID for validation

Quick command to get the SID of the currently logged in user for SSO validation:

whoami /user

This can be an extra layer of security above and beyond the username of the currently logged on person