Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.
When using them you need to add a #include <Security.au3>.
| User Defined Function | Description |
|---|---|
| _Security__AdjustTokenPrivileges | Enables or disables privileges in the specified access token |
| _Security__CreateProcessWithToken | Creates a new process and its primary thread running in the security context of the specified token |
| _Security__DuplicateTokenEx | Creates a new access token that duplicates an existing token |
| _Security__GetAccountSid | Retrieves the security identifier (SID) for an account |
| _Security__GetLengthSid | Returns the length, in bytes, of a valid SID |
| _Security__GetTokenInformation | Retrieves a specified type of information about an access token |
| _Security__ImpersonateSelf | Obtains an access token that impersonates the calling process security context |
| _Security__IsValidSid | Validates a SID |
| _Security__LookupAccountName | Retrieves a security identifier (SID) for the account and the name of the domain |
| _Security__LookupAccountSid | Retrieves the name of the account for a SID |
| _Security__LookupPrivilegeValue | Retrieves the locally unique identifier (LUID) for a privilege value in form of 64bit integer |
| _Security__OpenProcessToken | Returns the access token associated with a process |
| _Security__OpenThreadToken | Opens the access token associated with a thread |
| _Security__OpenThreadTokenEx | Opens the access token associated with a thread, impersonating the client's security context if required |
| _Security__SetPrivilege | Enables or disables a local token privilege |
| _Security__SetTokenInformation | Sets various types of information for a specified access token |
| _Security__SidToStringSid | Converts a binary SID to a string |
| _Security__SidTypeStr | Converts a SID type to string form |
| _Security__StringSidToSid | Converts a String SID to a binary SID |