2013年にVS経由で展開されたMasterPageでセキュリティトリミングを使用する方法は何ですか?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/94779

質問

この記事は、SP2013でMasterPage HTMLファイルを変更する方法を説明します。

しかし、「.master」ファイルを展開しており、VSパッケージを介してMasterPageを設定しています。ユーザー権限に基づいてリボンを非表示にするためにマスターページでセキュリティトリミングを実行できる方法は何ですか?(VSプロジェクトを開き、この '.master'ファイル)を変更することができます)

私はこれがSP2010でこれを行う記事は、SP2013で使用することをお勧めしますか?'読み取り専用'許可を得て、ユーザーからリボンを隠すことができますか?

役に立ちましたか?

解決

If you have to show/hide parts of the Ribbon based on permissions then SPSecurityTrimmedControl is the ideal way to do it even if you are on SP 2013. You can use ViewListItems permissions to hide the Ribbon from users with Read Only permissions. See this http://msdn.microsoft.com/EN-US/library/ms412690 for all possible types of Permissions which can be used.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top