Directory Services

DSOP_FILTER_FLAGS

The DSOP_FILTER_FLAGS structure contains flags that indicate the types of objects presented to the user for a specified scope or scopes. This structure is contained in the DSOP_SCOPE_INIT_INFO structure when calling IDsObjectPicker::Initialize.

typedef struct _DSOP_FILTER_FLAGS {
DSOP_UPLEVEL_FILTER_FLAGS Uplevel;
ULONG flDownlevel; } DSOP_FILTER_FLAGS;

Members

Uplevel
Contains a DSOP_UPLEVEL_FILTER_FLAGS structure that contains the filter flags to use for up-level scopes. An up-level scope is a scope that supports the ADSI LDAP provider. For more information, see ADSI LDAP Provider.
flDownlevel
Contains the filter flags to use for down-level scopes. This member can be a combination of the following flags.
Value Meaning
DSOP_DOWNLEVEL_FILTER_ALL_WELLKNOWN_SIDS Includes all well-known security principals. This flag is the same as specifying all of the well-known security principal flags listed in this table.

This flag should be used for forward compatibility because it causes any other down-level, well-known SIDs that might be added in the future your code to automatically be included.

DSOP_DOWNLEVEL_FILTER_ANONYMOUS Includes the well-known security principal Anonymous, which refers to null session logons.
DSOP_DOWNLEVEL_FILTER_AUTHENTICATED_USER Includes the well-known security principal Authenticated User, a group that includes all authenticated accounts in the target domain and its trusted domains.
DSOP_DOWNLEVEL_FILTER_BATCH Includes the well-known security principal Batch, which refers to batch server logons.
DSOP_DOWNLEVEL_FILTER_COMPUTERS Includes computer objects.
DSOP_DOWNLEVEL_FILTER_CREATOR_GROUP Includes the well-known security principal Creator Group.
DSOP_DOWNLEVEL_FILTER_CREATOR_OWNER Includes the well-known security principal Creator Owner.
DSOP_DOWNLEVEL_FILTER_DIALUP Includes the well-known security principal Dialup.
DSOP_DOWNLEVEL_FILTER_EXCLUDE_BUILTIN_GROUPS Excludes local built-in groups returned by groups' enumeration.
DSOP_DOWNLEVEL_FILTER_GLOBAL_GROUPS Includes all global groups.
DSOP_DOWNLEVEL_FILTER_INTERACTIVE Includes the well-known security principal Interactive, which refers to users who log on to interactively use the computer.
DSOP_DOWNLEVEL_FILTER_LOCAL_GROUPS Includes all local groups.
DSOP_DOWNLEVEL_FILTER_NETWORK Includes the well-known security principal Network, which refers to network logons for high performance servers.
DSOP_DOWNLEVEL_FILTER_SERVICE Includes the well-known security principal Service, which refers to Win32 service logons.
DSOP_DOWNLEVEL_FILTER_SYSTEM Includes the well-known security principal System, which refers to the LocalSystem account.
DSOP_DOWNLEVEL_FILTER_TERMINAL_SERVER Includes the well-known security principal Terminal Server.
DSOP_DOWNLEVEL_FILTER_USERS Includes user objects.
DSOP_DOWNLEVEL_FILTER_WORLD Includes the well-known security principal World (Everyone), a group that includes all users.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Objsel.h.

See Also

DSOP_SCOPE_INIT_INFO, IDsObjectPicker::Initialize, DSOP_UPLEVEL_FILTER_FLAGS, ADSI LDAP Provider, Directory Object Picker