Welcome to the Community Exchange

Welcome to the Community Exchange, a place where community members can exchange questions and answers related to DotNetNuke. If you would like more info about the Community Exchange, please visit this page in our Wiki. 

Social groups limitations

Is there a way to limit users to only joining one social group and is there a way to limit users from only making one social group?

If those are not possible is there a built in count of social groups (like in the user profile) they belong to so I could limit it in code?

asked 8/1/2012
Dylan Barber71
Dylan Barber
edited 8/1/2012
Dylan Barber71
Dylan Barber

1 Answer

to your first question, no there is no limit (though you can of course -you can of course set it to review or private and the admin can then control membership.

There is no particular helper method though you can of course check the roles the user is involved in i.e. if it is a security role, social group or both i.e.

User.Social.Roles.Where((role) => role.SecurityMode != SecurityMode.SecurityRole

answered 8/1/2012 cathal connolly 1210
cathal connolly
  • yes, a social group is just a role (so can be administered via admin->roles) - they have a different SecurityMode in the roles table and some additional meta data. - cathal connolly 8/1/2012

  • So are social groups sort of treated like special roles? - Dylan Barber 8/1/2012

Your Answer

In order to provide an answer to this question, you must Login

I am flagging this question because...




10 inform moderator flags remaining

I am deleting this question because...




I am flagging this answer because...




10 inform moderator flags remaining

Flagging a Post

You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.

I am deleting this answer because...




DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.