LegacyTelogisServiceCreateUser Method |
Print this page
Create a new sub-user with the given attributes.
Namespace: Telogis.API Syntax public long CreateUser(
string username,
string password,
string emailAddress,
string fullName,
string timeZone,
UserRights rights,
Day days,
bool disabled,
bool anytime,
int startHour,
int endHour,
Property[] properties
)
Public Function CreateUser (
username As String,
password As String,
emailAddress As String,
fullName As String,
timeZone As String,
rights As UserRights,
days As Day,
disabled As Boolean,
anytime As Boolean,
startHour As Integer,
endHour As Integer,
properties As Property()
) As Long
Parameters
- username
- Type: SystemString
Username for the new user
- password
- Type: SystemString
Password for the new user
- emailAddress
- Type: SystemString
Email address for the new user
- fullName
- Type: SystemString
Full name of the new user
- timeZone
- Type: SystemString
TimeZone of the user. See
TimeZone - rights
- Type: Telogis.APIUserRights
User access rights
- days
- Type: Telogis.APIDay
The user can only access Verizon Connect Fleet on these weekdays. An integer bitmask, LSB is Sunday.
- disabled
- Type: SystemBoolean
True if the user should be disabled
- anytime
- Type: SystemBoolean
If true this user can access Verizon Connect Fleet at any time. If false, the restrictions
set out in startHour, endHour and days apply.
- startHour
- Type: SystemInt32
The user can only access Verizon Connect Fleet after this hour every day
- endHour
- Type: SystemInt32
The user cannot access Verizon Connect Fleet after this hour every day
- properties
- Type: Telogis.APIProperty
User properties
Return Value
Type:
Int64
Unique ID for the newly-created user.
See Also