Updates the specified user's forwarding settings.
A GenericResult instance containing the results of the UpdateUserForwardingInfo action.
The following sets a forwarding address and specifies that messages should be deleted after they are sent.
using System;
using svcUserAdmin;
class svcUserAdminUpdateUserForwardingInfo
{
static void Main()
{
svcUserAdmin admin = new svcUserAdmin();
GenericResult status = admin.UpdateUserForwardingInfo("admin@domain.net",
"alskdjfhtt",
"dlindt@domain.net",
true,
"dlindt@other.domain.net");
if(status.Result)
Console.WriteLine ("User updated");
else
Console.WriteLine (status.Message);
}
}
svcUserAdmin Class | svcUserAdmin Namespace