cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
658
Views
0
Helpful
2
Replies

How to check if user is part of the specific OU in Active Directory

anahta
Level 1
Level 1

Hi :

We are trying to check if user is part of the specific OU or not , to do this I am invoking "Get Object Property Value"

since if user is part of that OU in that case it should be able to get that property .

However this activity is failing and not able to search for any proeprty , below is the snapshot of workflow which

I have created for this , I am logging to cisco.com domain for this .

Thanks

Anil

2 Replies 2

Matthew Horvat
Level 1
Level 1

Hi Anil

You can run the "Get User Distinguished Name" action. This uses the login CISCO\username in your case to return the distinguished name which you are inputting including its OU.

You could then run the get object property with the input LDAP path being the results from the Distinguished Name.

Regards,

Matt

swinters
Cisco Employee
Cisco Employee

you can log into a domain controller with admin privileges and run the dsquery command.

For example:

C:\Users\Administrator>dsquery user -name "*winters*"

"CN=Steve Winters,OU=RTP,DC=tsi-ciac,DC=cisco,DC=com"

Review Cisco Networking for a $25 gift card