SharePoint 2013声称 [英] SharePoint 2013 claims

查看:71
本文介绍了SharePoint 2013声称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

Hello All,


    对于SharePoint 2013,将使用基于声明的身份验证,因此与SP 2013相比,所有用户名和AD组名称都会更改

     For SharePoint 2013, claim based authentication gets used so all user names and AD group names are changed as compared to SP 2013

推荐答案

请使用以下代码获取安全组的声明。

Please using the following code to get the claim for security group.

using (SPSite site = new SPSite("http://sp2013/sites/team"))
{
	using (SPWeb web = site.OpenWeb())
	{
		SPUser user = web.EnsureUser("denguo\\spgroup");
		var userLoginName=user.LoginName;
	}
}

或使用PowerShell获取它。

Or use PowerShell to get it.

获取SharePoint 2013中AD群组的身份声明

http:// www .sharepointfire.com / 2013/11 / get-ad-group-identity-claim-in-sharepoint-2013 /

最好的问候,

丹尼斯


这篇关于SharePoint 2013声称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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