Platform SDK: Active Directory, ADSI, and 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. The DSOP_SCOPE_INIT_INFO structure contains a DSOP_FILTER_FLAGS structure.

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

Members

Uplevel
A DSOP_UPLEVEL_FILTER_FLAGS structure that contains the filter flags to use for uplevel scopes. An uplevel scope is a scope that supports the ADSI LDAP provider. For more information, see ADSI LDAP Provider.
flDownlevel
Filter flags to use for downlevel 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.

You should use this flag for forward compatibility because it causes your code to automatically include any other downlevel well-known SIDs that might be added in the future.

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 builtin 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

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Objsel.h.

See Also

ADSI LDAP Provider, DSOP_SCOPE_INIT_INFO, DSOP_UPLEVEL_FILTER_FLAGS, Object Picker Dialog Box Overview, Object Picker Dialog Box Structures