Ejemplo n.º 1
0
        /// <summary>
        /// Retrieve the authentication token required to make web service requests.
        /// </summary>
        /// <param name="username">The name of the user to authenticate.</param>
        /// <param name="password">The user's password.</param>
        /// <returns></returns>
        private static string AuthenticateUser(string username, string password)
        {
            var proxy = new InvitationManagementServiceClient();
            var result = proxy.AuthenticateUser(username, password);

            return result.ResultData;
        }