Skip to main content

current_user_identity

Function current_user_identity 

Source
pub fn current_user_identity() -> Result<(String, String), String>
Expand description

Current user SID (S-1-5-…) and DOMAIN\User for Task Scheduler XML. Empty strings on non-Windows.