contact selector configure to search in ou

S

Susanne

hallo,
sorry about my bad english..
I have configured the contact selector in infopath 2007 -it works.
but: we have a large Active directorie, with a lot of ou's.
How can I configure the selector control to search in one ou?
Code?
thanks for help
Susanne
 
S

Shiva

Hello,

Do you want to find out the current user is available in Active directive or
not? You can use below XPath to find out this user is available in Active
Directory or not?

string.Format(“/my:myFields/my:person/my:AccountId[. = ‘{0}’]â€, current user
name)

This XPath will return the node which is equal to account Id in the form.
 
S

Susanne mohn

hallo !
I have the current user- i want to find another user in my company = one ou .
Susanne

Shiva said:
Hello,

Do you want to find out the current user is available in Active directive or
not? You can use below XPath to find out this user is available in Active
Directory or not?

string.Format(“/my:myFields/my:person/my:AccountId[. = ‘{0}’]â€, current user
name)

This XPath will return the node which is equal to account Id in the form.


Susanne said:
hallo,
sorry about my bad english..
I have configured the contact selector in infopath 2007 -it works.
but: we have a large Active directorie, with a lot of ou's.
How can I configure the selector control to search in one ou?
Code?
thanks for help
Susanne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top