人员选择器属性 [英] people picker property

查看:98
本文介绍了人员选择器属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我最近在两个域之间配置了双向域信任,并且我希望人们选择器只能看到一个域.我通过命令设置stsadm属性来完成此操作.我已将此命令逐个应用于每个Web应用程序,但是我找不到在多个Web应用程序之间进行设置的方法.有人可以告诉我如何设置People Picker属性吗?共享点中所有所有Web应用程序或特定域下的Web应用程序,而不是一个一个地将其设置为每个单个应用程序.
并且,如果我们在"stsadm -o setproperty -pn peoplepicker-searchadforests -pv $ dn_name -url $ app_url"命令的pv参数中指定某个域名值,它是否还会访问该命令提供的域下的子域

我尝试使用的脚本是:


$ webapps = get-spwebapplication
foreach($ webapps中的$ webapp)
{

[String] $ dn_name =在此处输入域名"
[String] $ app_url = $ webapp.getresponseuri(spurlzone.default).absoluteuri

stsadm -o setproperty -pn peoplepicker-searchadforests -p $ dn_name -url $ app_url


$ webapp.Update()
}

Thanx

Hello,

I have recently configured a two way domain trust between two domains.And I want people picker to be able to see across only one domain. I have done this by setting stsadm property through command.I had applied this command to every web app one by one.But I could not find a way to set this across multiple web apps.Can anybody pls tell me how to set people picker property of all the web apps or web apps under specific domain that are in the sharepoint instead of setting it to every single app one by one.
And if we specify a certain domain name value in the pv parameter of "stsadm -o setproperty -pn peoplepicker-searchadforests -pv $dn_name -url $app_url " command , does it also access the sub domains under the domain which is provided in command

script i am trying to use is :


$webapps = get-spwebapplication
foreach ($webapp in $webapps)
{

[String]$dn_name ="enter domain name here"
[String]$app_url=$webapp.getresponseuri(spurlzone.default).absoluteuri

stsadm -o setproperty -pn peoplepicker-searchadforests -pv $dn_name -url $app_url


$webapp.Update()
}

Thanx

推荐答案

dn_name -url
dn_name -url


app_url命令,它是否也可以访问提供的域中的子域命令

我尝试使用的脚本是:


app_url " command , does it also access the sub domains under the domain which is provided in command

script i am trying to use is :



webapps = get-spwebapplication
foreach(
webapps = get-spwebapplication
foreach (


这篇关于人员选择器属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆