Try to build PDB files even for releases.
[nssm.git] / account.h
1 #ifndef ACCOUNT_H\r
2 #define ACCOUNT_H\r
3 \r
4 #include <ntsecapi.h>\r
5 \r
6 /* Not really an account.  The canonical name is NT Authority\System. */\r
7 #define NSSM_LOCALSYSTEM_ACCOUNT _T("LocalSystem")\r
8 /* Other well-known accounts which can start a service without a password. */\r
9 #define NSSM_LOCALSERVICE_ACCOUNT _T("NT Authority\\LocalService")\r
10 #define NSSM_NETWORKSERVICE_ACCOUNT _T("NT Authority\\NetworkService")\r
11 /* Virtual service accounts. */\r
12 #define NSSM_VIRTUAL_SERVICE_ACCOUNT_DOMAIN _T("NT Service")\r
13 /* This is explicitly a wide string. */\r
14 #define NSSM_LOGON_AS_SERVICE_RIGHT L"SeServiceLogonRight"\r
15 \r
16 int open_lsa_policy(LSA_HANDLE *);\r
17 int username_sid(const TCHAR *, SID **, LSA_HANDLE *);\r
18 int username_sid(const TCHAR *, SID **);\r
19 int username_equiv(const TCHAR *, const TCHAR *);\r
20 int canonicalise_username(const TCHAR *, TCHAR **);\r
21 int is_localsystem(const TCHAR *);\r
22 TCHAR *virtual_account(const TCHAR *);\r
23 int is_virtual_account(const TCHAR *, const TCHAR *);\r
24 const TCHAR *well_known_sid(SID *);\r
25 const TCHAR *well_known_username(const TCHAR *);\r
26 int grant_logon_as_service(const TCHAR *);\r
27 \r
28 #endif\r