Friday, May 11, 2012 11:03 AM
On top navigation bar there is a dropdown displaying "User Name" as a text. This dropdown has three options, which are:
Sign in as Different User
I would like to remove only one option "Sign in as Different User" from the dropdown for users expcet admin Is this possible? How?
Any help that you could provide would be appreciated.
Friday, May 11, 2012 11:04 AM
- Edited by ova c Friday, May 11, 2012 11:05 AM
Friday, May 11, 2012 11:30 AM
- Edited by ova c Friday, May 11, 2012 11:30 AM
Sunday, May 13, 2012 10:08 AM
Thanks for reply
i visited the above links and none of them solve the issue . all are talking about the changing in the welcme.ascx file and it applies on farm level .
i have to hide sign In as different user for all users except the site Collection administrator.
is there any approach by code or custom i have to utilize for this task.
Sunday, May 13, 2012 11:16 AM
.ms-MenuUIULLink[text='Sign in as Different User']
place this in your master page.
By coding you check whether the user is Site Collection Admin and just bind new CSS class in which you will remove that attribute display:none .
"The Only Way To Get Smarter Is By Playing A Smarter Opponent"
- Marked As Answer by waheedsweBanned Monday, May 14, 2012 4:19 AM