Wednesday, January 30, 2013

Get All Site Roles - DNN

This is the code for get all site roles,


int portalId = portalSettings.PortalId;
ArrayList list = DotNetNuke.Security.Roles.RoleProvider.Instance().GetRoles(portalId);

No comments:

Post a Comment