/// <summary>
        ///
        /// </summary>
        private void RemoveUser()
        {
            mCurrentSelectedUser.ParentModel = null;

            int id = Users.IndexOf(mCurrentSelectedUser);

            if (!mCurrentSelectedUser.IsNew)
            {
                if (DBDevelopClientApi.DevelopServiceHelper.Helper.RemoveDatabaseUser(Model.Database, mCurrentSelectedUser.Name))
                {
                    Users.Remove(mCurrentSelectedUser);
                }
            }
            else
            {
                Users.Remove(mCurrentSelectedUser);
            }


            mCurrentSelectedUser = null;

            if (Users.Count > id)
            {
                CurrentSelectedUser = Users[id];
            }

            else
            {
                CurrentSelectedUser = Users[Users.Count - 1];
            }
        }
        /// <summary>
        ///
        /// </summary>
        private void AddUser()
        {
            string newUserName = GetAvailableName("user");

            Cdy.Tag.UserItem user = new Cdy.Tag.UserItem()
            {
                Name = newUserName, Group = this.Model.FullName
            };
            var umode = new UserItemViewModel()
            {
                Model = user, IsNew = true, IsEdit = true, ParentModel = this
            };

            umode.IntPermission(mPermissionCach);
            Users.Add(umode);

            CurrentSelectedUser = umode;
        }