Module windows_acl::helper [] [src]

Functions

current_user

Retrieves the user name of the current user.

name_to_sid

Resolves a system username (either in the format of "user" or "DOMAIN\user") into a raw SID. The raw SID is represented by a Vec<u8> object.

sid_to_string

Converts a raw SID into a SID string representation.

string_to_sid

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