Make a sharepoint webpart available only for specific users
I am developing a Sharepoint (2010) web part an开发者_运维百科d I want to make it available only for specif users or groups pragmatically.
Because I am a total beginner in Sharepoint development, I found some pieces of code around the Internets, but they give no clue about how or where to use that code from withing the web part itself.
I need a simple how-to method for achieving this.
Thank you.
Like Shaneo said, Audience targeting might be the answer. Although if you are new to SharePoint, Audience might be a new concept to you.
精彩评论