public void AddUser(TopicDescription topic, QueueUser user)
 {
     topic.Authorization.Add(new AllowRule(_nameSpace, "nameidentifier",
                                           user.UserName,
                                           user.GetAccessRights()));
     UpdateTopic(topic);
 }
 public void AddUser(QueueDescription queue, QueueUser user)
 {
     queue.Authorization.Add(new AllowRule(_nameSpace, "nameidentifier",
                                           user.UserName,
                                           user.GetAccessRights()));
     UpdateQueue(queue);
 }