/// <summary> /// Sets the current role manager. /// </summary> /// <param name="roleType"></param> /// <param name="roleManager"></param> public void SetRoleManager(string roleType, IRoleManager roleManager) { Assertion assertion = model.GetExistAssertion(PermConstants.Section.RoleSection, roleType); assertion.RoleManager = roleManager; if (autoBuildRoleLinks) { assertion.BuildRoleLinks(); } }