Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Active Directory Security Group membership based on specific attribute

$
0
0

Trying to figure out if there's a way to create an AD security group and populate its members with user objects that have a specific attribute.


Example:


ABC Security Group


User XYZ has attribute countryCode = 0


User CDE has attribute countryCode = 1


User FGH has attribute countryCode = 1


I want to populate ABC Security Group with all the users who have attribute countryCode = 1, automatically


The idea  is that I've got thousands of users with countryCode = 1 and I really don't want to have to add them, or remove them, manually.  I would like if their countryCode ever changes from 0 to 1 or 1 to 0, it will automatically add or remove them from ABC Security Group.


Thanks,

Daniel


Thanks, Daniel


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>