[INCLUDE]

Add generic rights for account and secret objects.

svn path=/trunk/; revision=57736
This commit is contained in:
Eric Kohl 2012-11-19 17:28:36 +00:00
parent 8a858bc0d1
commit 4874b78fd4

View file

@ -30,9 +30,20 @@ extern "C" {
#define ACCOUNT_ADJUST_QUOTAS 4
#define ACCOUNT_ADJUST_SYSTEM_ACCESS 8
#define ACCOUNT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 15)
#define ACCOUNT_READ (STANDARD_RIGHTS_READ | 1)
#define ACCOUNT_WRITE (STANDARD_RIGHTS_WRITE | 14)
#define ACCOUNT_EXECUTE (STANDARD_RIGHTS_EXECUTE)
#define SECRET_SET_VALUE 1
#define SECRET_QUERY_VALUE 2
#define SECRET_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 3)
#define SECRET_READ (STANDARD_RIGHTS_READ | 2)
#define SECRET_WRITE (STANDARD_RIGHTS_WRITE | 1)
#define SECRET_EXECUTE (STANDARD_RIGHTS_EXECUTE)
/* System Access Flags */
#define SECURITY_ACCESS_INTERACTIVE_LOGON 0x00000001
#define SECURITY_ACCESS_NETWORK_LOGON 0x00000002