1 #ifndef WIN32_SECURITY_CLASS
2 #define WIN32_SECURITY_CLASS
4 /*****************************************************************************\
6 * Name : win32_security *
7 * Author : Sue Richeson *
8 * Author : Chris Koeritz *
12 * Some helper functions for security calls. These are lower level than *
13 * nt_security and only require bare OS calls. *
15 *******************************************************************************
16 * Copyright (c) 2000 By Author. This program is free software; you can *
17 * redistribute it and/or modify it under the terms of the GNU General Public *
18 * License as published by the Free Software Foundation; either version 2 of *
19 * the License or (at your option) any later version. This is online at: *
20 * http://www.fsf.org/copyleft/gpl.html *
21 * Please send any updates to: fred@gruntose.com *
22 \*****************************************************************************/
29 #include <basis/astring.h>
34 static bool GetUserAndDomainName(astring &UserName, astring &DomainName);
35 //!< returns user account and windows domain of logged in user.
37 static astring full_user();
38 //!< returns user and domain combined into a parsable form: user[domain]
43 #endif // outer guard.