Function windows_acl::helper::string_to_sid [] [src]

pub fn string_to_sid(string_sid: &str) -> Result<Vec<BYTE>, DWORD>

Converts a string representation of a SID into a raw SID. The returned raw SID is contained in a Vec<u8> object.

Arguments

Errors

On error, a Windows error code is wrapped in an Err type.