# SailPoint IIQ - Help Reading/Aggregating in Array List

**URL:** <https://developer.sailpoint.com/discuss/t/sailpoint-iiq-help-reading-aggregating-in-array-list/81609>\
**Category:** IIQ Discussion and Questions\
**Tags:** rules, aggregation, identityiq\
**Created:** [September 17, 2024, 6:38pm UTC](https://developer.sailpoint.com/discuss/t/sailpoint-iiq-help-reading-aggregating-in-array-list/81609 "2024-09-17T18:38:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![itzsam91](https://avatars.discourse-cdn.com/v4/letter/i/ecb155/32.png) [@itzsam91](https://developer.sailpoint.com/discuss/u/itzsam91)\
**Post date:** [September 17, 2024, 6:38pm UTC](https://developer.sailpoint.com/discuss/t/sailpoint-iiq-help-reading-aggregating-in-array-list/81609/1 "2024-09-17T18:38:31Z")

</div>

## Which IIQ version are you inquiring about?

8.3p3

## Please share any images or screenshots, if relevant.

Identity Mapping Screenshot:

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/2/d/2d69fae2eb0d29e05b14b43ce24ee07e3d9383ee.png)

accountFlags AD attribute with values:  
 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/b/3/b39c0ae735f173bb65f7ea564af8d99e2a400a46.png)

## Share all details about your problem, including any error messages you may have received.

Hi there, I’m attempting to read in a value from AD. The attribute is called “accountFlags” which is holding multiple values via an array list.

How do I write that in a rule, to pull in all values of the array list, then search for syntax match for one of the values above to throw in a boolean?

For example purposes (not a real scenario), get identity’s accountFlag array list → Search for value of “User Account is Disabled” → if match is found, set boolean disabledUser = true..

---

<div class="post-metadata">

**Author:** ![vishal\_kejriwal1](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vishal_kejriwal1/32/10904_2.png) [@vishal\_kejriwal1](https://developer.sailpoint.com/discuss/u/vishal_kejriwal1)\
**Post date:** [September 17, 2024, 7:30pm UTC](https://developer.sailpoint.com/discuss/t/sailpoint-iiq-help-reading-aggregating-in-array-list/81609/2 "2024-09-17T19:30:03Z")

</div>

I think userAccountControl attribute would be the right value . and this value define the accountflags and account status .

---

<div class="post-metadata">

**Author:** ![itzsam91](https://avatars.discourse-cdn.com/v4/letter/i/ecb155/32.png) [@itzsam91](https://developer.sailpoint.com/discuss/u/itzsam91)\
**Post date:** [September 18, 2024, 1:43pm UTC](https://developer.sailpoint.com/discuss/t/sailpoint-iiq-help-reading-aggregating-in-array-list/81609/3 "2024-09-18T13:43:43Z")

</div>

Right, but we’re looking to utilize separation of SVC account’s as our AD OU repository is quite messy.

I used the account disabled as an example, but that scenario is not real hence trying to isolate the values from the Array.

Basically, what we’re really after is if we can check for “Password Cannot Expire” Is it possible\>?

---

<div class="post-metadata">

**Author:** ![vishal\_kejriwal1](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vishal_kejriwal1/32/10904_2.png) [@vishal\_kejriwal1](https://developer.sailpoint.com/discuss/u/vishal_kejriwal1)\
**Post date:** [September 18, 2024, 1:56pm UTC](https://developer.sailpoint.com/discuss/t/sailpoint-iiq-help-reading-aggregating-in-array-list/81609/4 "2024-09-18T13:56:27Z")

</div>

check

> **[UserAccountControl property flags - Windows Server](https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/useraccountcontrol-manipulate-account-properties)**
>
> Describes information about using the UserAccountControl attribute to manipulate user account properties.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/0/7/0719d307e7c324ff6fb6affffa57d8c3451aa2cc.png)

---

<div class="post-metadata">

**Author:** ![itzsam91](https://avatars.discourse-cdn.com/v4/letter/i/ecb155/32.png) [@itzsam91](https://developer.sailpoint.com/discuss/u/itzsam91)\
**Post date:** [September 18, 2024, 2:17pm UTC](https://developer.sailpoint.com/discuss/t/sailpoint-iiq-help-reading-aggregating-in-array-list/81609/5 "2024-09-18T14:17:19Z")

</div>

Thank you! Appreciate it.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [November 17, 2024, 2:17pm UTC](https://developer.sailpoint.com/discuss/t/sailpoint-iiq-help-reading-aggregating-in-array-list/81609/6 "2024-11-17T14:17:30Z")

</div>

Closed on November 17, 2024, 2:17pm UTC

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