Showing i:0#.w| with username in Sharepoint

From Active Directory User Display Name instead the user display name is like  i:0#.w|mName|accountname

mName = membershipprovideraliasinCentralAdmin

accountname = account in Active Directory

1. You would need to run a PowerShell command for the –Web parameter being the SiteCollection URL.

2. You would need to login to that Site Collection at least once for the script to update the Display Name. This is something like alerts on a site will work for the user if we would have logged into that site collection at least once.

Set-SPUser “i:0#.w|mName|accountname” -Web http://sitename -DisplayName "Neelam Gupta"

http://technet.microsoft.com/en-us/library/ff607827.aspx

And the SharePoint uses “i:0#.f” for Forms based authentication and “i:0#.w” for Windows based authentication . The issue is it doesn’t set the display name as compared to the Windows Authentication where you dont have to configure Forms Based authentication using a membership provider. As per my understanding the issue is with the LDAP membership provider which doesnt pull the Display Name from the Active Directory DisplayName.

Please refer the below links :

http://www.woaychee.com/index.php/sharepoint2010-spclaimprovidermanager-i0w/

http://blogs.msdn.com/b/alimaz/archive/2011/02/12/sharepoint-2010-people-picker-and-claims.aspx

http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/c96892ea-36df-446e-8731-03e01e8913b9/

转载于:https://www.cnblogs.com/zyip/archive/2013/04/01/2993834.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值