由Permission控制的SharePoint网站品牌 [英] SharePoint site branding controlled by Permission
问题描述
我的客户需要多个具有各自品牌(外观和感觉)的代理商。客户希望以这样的方式实现Intranet:每当用户登录SharePoint时,他们应该在SharePoint环境中看到自己的品牌(他们自己的一组颜色和图片)。例如,用户A适用于代理商A,代理商A使用红色,因此当用户A登录内联网时,他应该看到整个内部网使用红色品牌。
所以它根据用户所属的代理商更改CSS /母版页。
有人能指出我正确的方向来解决这个问题吗?
提前致谢。
My client needs have multiple agencies with their respective branding(look and feel). Client wants to implement the intranet in such a way that whenever a user logs in SharePoint, they should see their own branding(their own set of colors and pictures) across the SharePoint environment. For eg., user A works for agency A and agency A uses Red, so when user A logs in to the intranet, he should see the whole intranet with Red branding.
So its changing the CSS/masterpage based on the agency to which the user belongs.
Can someone points me to the right direction on how to go about this?
Thanks in advance.
推荐答案
创建一个HTTP处理程序,检查其中的用户权限页面pre_Init(),加载了各自的CSS。因此解决了问题!!
Created a HTTP Handler, checked the user permission in it and on Page pre_Init(), loaded the respective CSS. Hence problem resolved !!
这篇关于由Permission控制的SharePoint网站品牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!