pub fn current_user_identity() -> Result<(String, String), String>
Current user SID (S-1-5-…) and DOMAIN\User for Task Scheduler XML. Empty strings on non-Windows.
S-1-5-…
DOMAIN\User