Example #1
0
        /// <summary>
        ///   Get a specified <see cref="RoleFunctionEditor"/>.
        /// </summary>
        /// <param name="aRoleFunctionEditor">A <see cref="RoleFunctionEditor"/> object.</param>
        /// <param name="aUserToken">A user token.</param>
        //public static void GetRoleFunctionEditor(UserToken aUserToken, RoleFunctionEditor aRoleFunctionEditor)
        //{
        //    UserCallHandler.ServiceCall<RoleFunctionEditor>(aUserToken, "GetRoleFunctionEditor", aRoleFunctionEditor);
        //}

        /// <summary>
        ///   Put a specified <see cref="RoleFunctionEditor"/>.
        /// </summary>
        /// <param name="aRoleFunctionEditor">A <see cref="RoleFunctionEditor"/> object.</param>
        /// <param name="aUserToken">A user token.</param>
        //public static void PutRoleFunctionEditor(UserToken aUserToken, RoleFunctionEditor aRoleFunctionEditor)
        //{
        //    UserCallHandler.ServiceCall<RoleFunctionEditor>(aUserToken, "PutRoleFunctionEditor", aRoleFunctionEditor);
        //}

        #endregion

        #region User Service Calls

        /// <summary>
        /// Call the WebService with a request to return a User with a specified UserID
        /// </summary>
        /// <param name="aUser">The User object to return</param>
        /// <param name="aUserToken">A user token.</param>
        public static void GetUserByID(UserToken aUserToken, User aUser)
        {
            UserCallHandler.ServiceCall <User>(aUserToken, "GetUserByID", aUser);
        }
Example #2
0
 /// <summary>
 ///   Delete a specified <see cref="Role"/>.
 /// </summary>
 /// <param name="aRole"><see cref="Role"/> object.</param>
 /// <param name="aUserToken">A user token.</param>
 public static void DeleteRole(UserToken aUserToken, Role aRole)
 {
     UserCallHandler.ServiceCall <Role>(aUserToken, "DeleteRole", aRole);
 }
Example #3
0
 /// <summary>
 ///   Gets a specified <see cref="RoleCollection"/>.
 /// </summary>
 /// <param name="aRoleCollection"><see cref="Role"/>Collection object.</param>
 /// <param name="aUserToken">A user token.</param>
 public static void GetRoleCollection(UserToken aUserToken, RoleCollection aRoleCollection)
 {
     UserCallHandler.ServiceCall <RoleCollection>(aUserToken, "GetRoleCollection", aRoleCollection);
 }
Example #4
0
 /// <summary>
 /// Get a Collection of <see cref="UserFunctionAccess"/>.
 /// </summary>
 /// <param name="aUserToken">A user token.</param>
 /// <param name="aUserFunctionAccessCollection">The UserFunctionAccessCollection containing the List to return</param>
 public static void GetUserFunctionAccessCollection(UserToken aUserToken, UserFunctionAccessCollection aUserFunctionAccessCollection)
 {
     UserCallHandler.ServiceCall <UserFunctionAccessCollection>(aUserToken, "GetUserFunctionAccessCollection", aUserFunctionAccessCollection);
 }
Example #5
0
 /// <summary>
 /// Call the WebService with a request to Delete a User
 /// </summary>
 /// <param name="aUser">The User object to Delete</param>
 /// <param name="aUserToken">A user token.</param>
 public static void DeleteUser(UserToken aUserToken, User aUser)
 {
     UserCallHandler.ServiceCall <User>(aUserToken, "DeleteUser", aUser);
 }
Example #6
0
 /// <summary>
 /// Call the WebService with a request to Edit a User
 /// </summary>
 /// <param name="aUser">The User object to Edit</param>
 /// <param name="aUserToken">A user token.</param>
 public static void EditUser(UserToken aUserToken, User aUser)
 {
     UserCallHandler.ServiceCall <User>(aUserToken, "EditUser", aUser);
 }