Http: // 207.46.16.252/ZH-CN/library/gg602066.aspx # section5
1 Effect: only a specific ou can be queried, in addition, domain users not in this ou will be denied access (Other ou domain users who have accessed the ou before setting ou can still access the portal and can be queried by the selector)
View Current status: No settings found
Stsadm-O getsiteuseraccountdirectorypath-URL http: // SERVERNAME
Settings:
Stsadm-O setsiteuseraccountdirectorypath-path "ou = Sales, Dc = contosocorp, Dc = Local"-URL http: // SERVERNAME
View the settings:
Stsadm-O getsiteuseraccountdirectorypath-URL http: // SERVERNAME
Unset
Stsadm-O setsiteuseraccountdirectorypath-path ""-URL http: // SERVERNAME
View after cancellation
Stsadm-O getsiteuseraccountdirectorypath-URL http: // SERVERNAME
//////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// //
//////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// //
2. effect: multiple specified ou can be queried.
Filters should be available. I have never tried
Use LDAP to query and filter Active Directory accounts
Stsadm-O setproperty-PN extends icker-searchadcustomfilter-PV <LDAP query filter> -URL <Web ApplicationProgramURL>