# Okta Client SDK Java

**URL:** <https://devforum.okta.com/t/okta-client-sdk-java/20774>\
**Category:** API\
**Created:** [May 25, 2022, 1:20pm UTC](https://devforum.okta.com/t/okta-client-sdk-java/20774 "2022-05-25T13:20:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pawan](https://avatars.discourse-cdn.com/v4/letter/p/e0b2c6/32.png) [@pawan](https://devforum.okta.com/u/pawan)\
**Post date:** [May 25, 2022, 1:20pm UTC](https://devforum.okta.com/t/okta-client-sdk-java/20774/1 "2022-05-25T13:20:17Z")

</div>

Hi Team,

I had a small query, I wanted to know can we check the existence of a attribute in Okta profile irrespective of its value.

Rather, I wanted to do this check while listing users using search query. So do we have any search query for this.

---

<div class="post-metadata">

**Author:** ![erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@erik](https://devforum.okta.com/u/erik)\
**Post date:** [May 27, 2022, 5:03am UTC](https://devforum.okta.com/t/okta-client-sdk-java/20774/2 "2022-05-27T05:03:29Z")

</div>

Hello,  
You can use [search/filter](https://developer.okta.com/docs/reference/api/users/#request-parameters-3) operations on the /users endpoint.

One of the [supported operators](https://developer.okta.com/docs/reference/core-okta-api/#operators) is `pr` (present has a value)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 12, 2024, 9:12pm UTC](https://devforum.okta.com/t/okta-client-sdk-java/20774/3 "2024-02-12T21:12:24Z")

</div>

Closed on February 12, 2024, 9:12pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
