Beispiel #1
0
        protected void GetUserList(string roleName)
        {
            List <MembershipUser> usrs = SecurityData.GetUsersInRole(roleName);

            GeneralUtilities.BindDataBoundControl(gvUsers, usrs);

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