Skip to main content

is_key_reader

Function is_key_reader 

Source
pub fn is_key_reader(trustee: &str, readers: &[String]) -> bool
Expand description

Is trustee, as an access list names it (a SID, or an SDDL alias such as LA), one of the key readers (SIDs)? SDDL writes the built-in administrator account (the SID ending in -500) as LA, so that alias is the reader whose SID ends that way.