A .NET Standard wrapper for TomTom WebFleet connect API
View the Project on GitHub scottyearsley/tomtom-webfleetconnect
Returns all users for an account without any filtering.
List<User> ShowUsers(UserFilter = null)
{
}
userFilter
Type: UserFilter
User filter configuration
var client = ... // initialize WebFleetConnectClient instance.
// List users with no filtering
List<User> users = client.Users.ShowUsers();
// List users for a specific company
List<User> companyUsers = client.UserManagement.ShowUsers(
new UserFilter
{
Company = "[Company]"
}
);
Returns all users for an account without any filtering.
Task<List<User>> ShowUsersAsync(UserFilter = null)
{
}
userFilter
Type: UserFilter
User filter configuration
var client = ... // initialize WebFleetConnectClient instance.
// List users with no filtering
Task<List<User>> users = await client.UserManagement.ShowUsersAsync();
// List users for a specific company
Task<List<User>> users = await client.UserManagement.ShowUsersAsync(
new UserFilter
{
Company = "[Company]"
}
);
Used to change the password of the current user account.
void ChangePassword(string oldPassword, string newPassword)
{
}
oldPassword
Type:
string
The current password of the user account.
newPassword
Type:
string
The new password.
var client = ... // initialize WebFleetConnectClient instance.
client.UserManagement.ChangePassword("[oldPassword]", "[newPassword]");
Used to change the password of the current user account.
Task ChangePassword(string oldPassword, string newPassword)
{
}
oldPassword
Type:
string
The current password of the user account.
newPassword
Type:
string
The new password.
var client = ... // initialize WebFleetConnectClient instance.
await client.UserManagement.ChangePasswordAsync("[oldPassword]", "[newPassword]");