UriTemplate: /dra/managedObjects/get
Assembly: NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 1.1.0.318 (1.1.0.318)
[OperationContractAttribute] [WebInvokeAttribute(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, UriTemplate = "/dra/managedObjects/get")] Stream ContainerEnum( Computer computerAndFilter, Computer computerOrFilter, Contact contactAndFilter, Contact contactOrFilter, Domain domainAndFilter, Domain domainOrFilter, Group groupAndFilter, Group groupOrFilter, OU ouAndFilter, OU ouOrFilter, User userAndFilter, User userOrFilter, EquipmentMailbox equipmentMailboxOrFilter, RoomMailbox roomMailboxOrFilter, DynamicDistributionGroup ddgAndFilter, DynamicDistributionGroup ddgOrFilter, Container containerAndFilter, Container containerOrFilter, BuiltinContainer builtinAndFilter, BuiltinContainer builtinOrFilter, PowerFilter[] powerFilters, SimpleFilterCollection additionalAndFilters, SimpleFilterCollection additionalOrFilters, string[] attributes, EnumerationOptions enumerationOptions, ConnectionParameters connectionParameters )
Parameters
- computerAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Computer
An optional Computer object that defines the attribute patterns to match for computers to use in the 'and' clause
- computerOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Computer
An optional Computer object that defines the attribute patterns to match for computers to use in the 'or' clause
- contactAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Contact
An optional Contact object that defines the attribute patterns to match for contacts to use in the 'and' clause
- contactOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Contact
An optional Contact object that defines the attribute patterns to match for contacts to use in the 'or' clause
- domainAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Domain
An optional Domain object that defines the attribute patterns to match for domains to use in the 'and' clause
- domainOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Domain
An optional Domain object that defines the attribute patterns to match for domains to use in the 'or' clause
- groupAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Group
An optional Group object that defines the attribute patterns to match for groups to use in the 'and' clause
- groupOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Group
An optional Group object that defines the attribute patterns to match for groups to use in the 'or' clause
- ouAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels OU
An optional OU object that defines the attribute patterns to match for organizational units
- ouOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels OU
An optional OU object that defines the attribute patterns to match for organizational units
- userAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels User
An optional User object that defines the attribute patterns to for users
- userOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels User
An optional User object that defines the attribute patterns to for users
- equipmentMailboxOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels EquipmentMailbox
An optional EquipmentMailbox object that defines the attribute patterns to match for resource mailbox users
- roomMailboxOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels RoomMailbox
An optional RoomMailbox object that defines the attribute patterns to match for resource mailbox users
- ddgAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels DynamicDistributionGroup
An optional DynamicDistributionGroup object that defines the attribute patterns to match for dynamicDistributionGroups to use in the 'and' clause
- ddgOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels DynamicDistributionGroup
An optional DynamicDistributionGroup object that defines the attribute patterns to match for dynamicDistributionGroups to use in the 'or' clause
- containerAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Container
An optional Container object that defines the attribute patters to match for containers to use in the 'and' clause
- containerOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels Container
An optional Container object that defines the attribute patters to match for containers to use in the 'or' clause
- builtinAndFilter
- Type: NetIQ.DRA.Common.Rest.DataModels BuiltinContainer
An optional BuiltinContainer object that defines the attribute patters to match for builtin containers to use in the 'and' clause
- builtinOrFilter
- Type: NetIQ.DRA.Common.Rest.DataModels BuiltinContainer
An optional BuiltinContainer object that defines the attribute patters to match for builtincontainers to use in the 'or' clause
- powerFilters
- Type: NetIQ.DRA.Common.Rest.DataModels PowerFilter
An optional PowerFilter object that limits the returned objects to those which the AA has the specified powers over
- additionalAndFilters
- Type: NetIQ.DRA.Common.Rest.DataModels SimpleFilterCollection
An optional SimpleFilterCollection object that contains an additional set of simple filters to use in the 'and' clauuse
- additionalOrFilters
- Type: NetIQ.DRA.Common.Rest.DataModels SimpleFilterCollection
An optional SimpleFilterCollection object that contains an additional set of simple filters to use in the 'or' clauuse
- attributes
- Type: System String
An optional list of the properties to retrieve from the server for all objects
- enumerationOptions
- Type: NetIQ.DRA.Common.Rest.DataModels EnumerationOptions
An optional EnumerationOptions structure that controls how the enumeration is performed
- connectionParameters
- Type: NetIQ.DRA.Common.Rest.DataModels ConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials
Return Value
Type: StreamA ManagedObjectListResponse object containing the operation results
Filters
Filters are specified by sending an object in the payload that corresponds to the object type and logical operand. The object should contain the attributes to match on with the match string as it's value. The logic applied accross multiple fields is indicated by the logical operand in the filter name. For example, if a computerOrFilter is included in the payload with match strings for three different attributes then any computer that matches any of the match strings is included in the response. If it were a computerAndFilter then a computer would have to match all match strings to be included in the response.
The following filter will match users whose firstName is 'Fred', description contains 'employee', or whose city begins with 'H':
"userOrFilter": { "firstName": "Fred", "description": "*employee*", "city": "H*" }
Use the | character to specify multiple match patterns for the same attribute. The following filter matches users whose city begins with 'H' or 'P':
"userOrFilter": { "city": "H*|P*" }