t_nt_security.h

Go to the documentation of this file.
00001 #ifndef TEST_NT_SECURITY_CLASS
00002 #define TEST_NT_SECURITY_CLASS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : test_nt_security                                                  *
00007 *  Author : Sue Richeson                                                      *
00008 *  Author : Chris Koeritz                                                     *
00009 *                                                                             *
00010 *******************************************************************************
00011 * Copyright (c) 2001-$now By Author.  This program is free software; you can  *
00012 * redistribute it and/or modify it under the terms of the GNU General Public  *
00013 * License as published by the Free Software Foundation; either version 2 of   *
00014 * the License or (at your option) any later version.  This is online at:      *
00015 *     http://www.fsf.org/copyleft/gpl.html                                    *
00016 * Please send any updates to: fred@gruntose.com                               *
00017 \*****************************************************************************/
00018 
00020 
00021 #include <basis/chaos.h>
00022 #include <basis/portable.h>
00023 #include <mechanisms/time_stamp.h>
00024 #include <mfc_ext/tiny_shell.h>
00025 
00026 class test_nt_security : public tiny_shell
00027 {
00028 public:
00029   test_nt_security();
00030   ~test_nt_security();
00031 
00032   IMPLEMENT_CLASS_NAME("test_nt_security");
00033 
00034   int execute();
00035 
00036   void menu_exit_program();
00037 
00038   void nt_get_user_and_domain_name();
00039   void nt_domain_binding();
00040   void nt_domain_user_binding();
00041   void nt_set_privilege_on_user();
00042 
00043   istring query_text(const istring &title);
00044     // gets a string value from the user, where the dialog has the "title".
00045 
00046 private:
00047   afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00048   afx_msg void OnClose();
00049 
00050   DECLARE_MESSAGE_MAP()
00051 };
00052 
00053 #endif
00054 

Generated on Fri Nov 28 04:29:40 2008 for HOOPLE Libraries by  doxygen 1.5.1