6 /* Not really an account. The canonical name is NT Authority\System. */
7 #define NSSM_LOCALSYSTEM_ACCOUNT _T("LocalSystem")
8 /* This is explicitly a wide string. */
9 #define NSSM_LOGON_AS_SERVICE_RIGHT L"SeServiceLogonRight"
12 int open_lsa_policy(LSA_HANDLE *);
13 int username_sid(const TCHAR *, SID **, LSA_HANDLE *);
14 int username_sid(const TCHAR *, SID **);
15 int username_equiv(const TCHAR *, const TCHAR *);
16 int is_localsystem(const TCHAR *);
17 TCHAR *canonical_username(const TCHAR *);
18 int requires_password(SID *);
19 int requires_password(const TCHAR *);
20 int grant_logon_as_service(const TCHAR *);