Ejemplo n.º 1
0
 /// <summary>
 /// 为当前角色分配权限
 /// </summary>
 /// <param name="role">角色实例对象</param>
 /// <param name="authorityIDs">权限ID</param>
 /// <returns></returns>
 public static bool AssignAuthorities(IRole role, Guid[] authorityIDs)
 {
     return(Provider.AssignAuthorities(role, authorityIDs));
 }