home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / ADSDK.ZIP / Samples / General / ADQI / security.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-13  |  1.7 KB  |  59 lines

  1. #if !defined(AFX_SECURITY_H__99695D7A_1D58_11D2_B21E_0000F87A6B50__INCLUDED_)
  2. #define AFX_SECURITY_H__99695D7A_1D58_11D2_B21E_0000F87A6B50__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // security.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDlgIADsSecurityDescriptor dialog
  12.  
  13.  
  14. class CDlgIADsSecurityDescriptor : public CDialog
  15. {
  16. // Construction
  17. public:
  18.     CDlgIADsSecurityDescriptor(LPUNKNOWN, CWnd* pParent = NULL);   // standard constructor
  19.     ~CDlgIADsSecurityDescriptor();
  20.     
  21. // Dialog Data
  22.     //{{AFX_DATA(CDlgIADsSecurityDescriptor)
  23.     enum { IDD = IDD_SECURITY };
  24.     CListBox    m_cACEList;
  25.     //}}AFX_DATA
  26.  
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CDlgIADsSecurityDescriptor)
  31.     protected:
  32.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. protected:
  37.     void PopulateACL( IADsAccessControlList *pACL );
  38.     void ResetAcePtr();
  39.     void DisplayACE( IADsAccessControlEntry *pACE );
  40.     void ResetAceMaskControls();
  41.     void DisplayAceObjectType( UINT nID, CString &sObjectType );
  42.  
  43.     IADsSecurityDescriptor  *m_pSecurityDesc;
  44.     CPtrList                 m_acePtrList;
  45.     CADsSearch                 m_search;
  46.  
  47.     // Generated message map functions
  48.     //{{AFX_MSG(CDlgIADsSecurityDescriptor)
  49.     virtual BOOL OnInitDialog();
  50.     afx_msg void OnSelChangeAceList();
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  57.  
  58. #endif // !defined(AFX_SECURITY_H__99695D7A_1D58_11D2_B21E_0000F87A6B50__INCLUDED_)
  59.