【问题标题】:SharPoint People PickerSharePoint 人员选取器
【发布时间】:2018-04-17 18:59:57
【问题描述】:

您好 SharePoint 2013 中是否有任何人员选取器服务/Web 服务?实际上我想通过 PowerShell 检查人员选择器中的一些用户是否存在。我在 csv 文件中有一个用户列表。

【问题讨论】:

标签: sharepoint sharepoint-2010 sharepoint-2013


【解决方案1】:

请参考以下powershell检查用户是否存在于组中:

$w = get-spweb http://my
$gs = $w.SiteGroups
$g = $gs[12]
$user = $g.Users.GetByEmail("user@domain.com")
if($user -eq $null){write-host "User Not Found"}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多