GetAccessList method

Returns a collection of members with access rights to the object.

Syntax


C++
HRESULT GetAccessList(
   LONG MemberFlags,
   ERUAccessMode AccessMode,
   IERUCollection** pRetVal)
Scripting languages
Set Collection = Object.GetAccessList(
   MemberFlags as Long,
   AccessMode as ERUAccessMode)

Parameters


MemberFlags

The content and format of the member collection returned. This parameter can only be the erMemFlagSortedLastNameFirst member of the ERUMemberFlag enumeration. All other flags are ignored.

AccessMode

What type of access the member has.

For further information, see ERUAccessMode.

pRetVal

Upon return, An IERUCollection interface pointer to a collection of members who have the specified access to the object.

Return value


C++

The return code.

Scripting languages

An IERUCollection interface pointer to a collection of members who have the specified access to the object.

Remarks


GetAccessList returns an error if the ERUAccessScope enumeration is set to anything other than erScopeList.

Home

Applies to

IERUAccessControl


See also

Controlling access