# Class: FindByDNRequest

## tibco.objectapi.service.request.FindByDNRequest

#### new FindByDNRequest(dn, version)

Object FindByDNRequest Usage: `RestApiService.getEntityResolverService().findByDN(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`dn` | string | The LDAP DN to which the resource returned should be associated.
`version` | number | (Java type: int) Major version number of the organization model from which the resource's associations (position, group, capability, etc) are to be reported. This parameter is only applied if the aDetail parameter is true.

Since:
  - 4.0.0

### Members

#### detail :boolean

Query parameter: 'detail' Boolean value defining whether to return the details of each matching resource.

##### Type:

- boolean

Since:
  - 4.0.0

#### ldapAlias :string

Query parameter: 'ldapalias' (optional) The LDAP alias to which the search should be restricted. Only resources associated with this LDAP alias are considered.

##### Type:

- string

Since:
  - 4.0.0