Carrotware.CMS.UI.Admin.c3_admin.UserGroupAddEdit.GetUserList C# (CSharp) Method

GetUserList() protected method

protected GetUserList ( string roleName ) : void
roleName string
return void
        protected void GetUserList(string roleName)
        {
            List<MembershipUser> usrs = SecurityData.GetUsersInRole(roleName);
            GeneralUtilities.BindDataBoundControl(gvUsers, usrs);

            if (usrs.Count < 1) {
                btnRemove.Visible = false;
            }
        }