Index

DKAccessControlV4

Purpose:

The DKAccessControlV4 class represents and manages VisualInfo for AS/400 access control services. It executes access control related commands for VisualInfo for AS/400. Some methods always return " ", a null, false, or an empty collection. An exception is thrown for not-supported methods. (The not-supported methods are not listed.)

Class summary:

class DKAccessControlV4 : public dkAccessControl 
{
  public:
    DKAccessControlV4(DKDatastoreV4 * ds);
    ~DKAccessControlV4();
 
    DKBoolean isAuthorized(const char * privilege_string, long authority);
};
 

Members:

Constructors and destructor
Constructs the access control and initializes it with the datastore.
    DKAccessControlV4(DKDatastoreV4 * ds);
    ~DKAccessControlV4();
 

Member functions

isAuthorized
Determines if the specified authority is granted for the given privilege string.
    DKBoolean isAuthorized(const char * privilege_string, 
                                          long authority);
 

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.