[][src]Function windows_acl::helper::sid_to_string

pub fn sid_to_string(sid: PSID) -> Result<String, DWORD>

Converts a raw SID into a SID string representation.

Arguments

  • sid - A pointer to a raw SID buffer. In native Windows, this is would be a PSID type.

Errors

On error, a Windows error code is returned with the Err type.