struct CCL::Security::Authorization::IPolicyItem

Overview

#include <iauthorizationpolicy.h>

struct IPolicyItem: public CCL::IUnknown
{
    // enums

    enum ItemType;

    // methods

    virtual ItemType CCL_API getItemType () const = 0;
    virtual StringRef CCL_API getItemSID () const = 0;
    virtual IUnknownIterator*CCL_API newItemIterator () const = 0;
    virtual IPolicyItem*CCL_API findItem (StringRef sid, ItemType type) const = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual ItemType CCL_API getItemType () const = 0

Get item type.

virtual StringRef CCL_API getItemSID () const = 0

Get item security identifier.

virtual IUnknownIterator*CCL_API newItemIterator () const = 0

Create iterator for subitems.

virtual IPolicyItem*CCL_API findItem (StringRef sid, ItemType type) const = 0

Find subitem with given security identifier and type.