You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
class FAR CLDAPGroupCollectionEnum : public CLDAPEnumVariant
|
|
{
|
|
public:
|
|
CLDAPGroupCollectionEnum(ObjectTypeList ObjList);
|
|
CLDAPGroupCollectionEnum();
|
|
~CLDAPGroupCollectionEnum();
|
|
|
|
static
|
|
HRESULT
|
|
CLDAPGroupCollectionEnum::Create(
|
|
CLDAPGroupCollectionEnum FAR* FAR* ppenumvariant,
|
|
BSTR Parent,
|
|
BSTR ADsPath,
|
|
BSTR GroupName,
|
|
VARIANT vMembers,
|
|
VARIANT vFilter,
|
|
CCredentials& Credentials
|
|
);
|
|
|
|
private:
|
|
BSTR _Parent;
|
|
BSTR _ADsPath;
|
|
BSTR _GroupName;
|
|
VARIANT _vMembers;
|
|
|
|
ObjectTypeList FAR *_pObjList;
|
|
LONG _lCurrentIndex;
|
|
LONG _lMembersCount;
|
|
|
|
CCredentials _Credentials;
|
|
|
|
HRESULT
|
|
CLDAPGroupCollectionEnum::GetUserMemberObject(
|
|
IDispatch ** ppDispatch
|
|
);
|
|
|
|
HRESULT
|
|
CLDAPGroupCollectionEnum::EnumGroupMembers(
|
|
ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched
|
|
);
|
|
|
|
STDMETHOD(Next)(ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched);
|
|
};
|
|
|