예제 #1
0
 internal void DeleteRole(Role role)
 {
     roleAccessor.Delete(role);
 }
예제 #2
0
 private bool userIsInRole(HttpApplication application, Role menuRole)
 {
     return application.User.IsInRole(menuRole.Name);
 }
예제 #3
0
 internal void CreateRole(Role role)
 {
     roleAccessor.Insert(role);
 }