VideoXpert SDK  2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
VxSdk::VxNewUser Struct Reference

Represents a new user to be created. More...

#include <VxNewUser.h>

Public Member Functions

 VxNewUser ()
 Initializes a new instance of the VxNewUser struct. More...
 
 VxNewUser (const VxNewUser &ref)
 Initializes a new instance of the VxNewUser struct. More...
 
 ~VxNewUser ()
 Finalizes an instance of the VxNewUser struct. More...
 
void Clear ()
 Clears this instance. More...
 

Public Attributes

bool mustChangePassword
 If true, the new user will be forced to change their password the first time they log in. More...
 
char domain [64]
 The network domain for the user. Defaults to LOCAL. More...
 
char employeeId [64]
 The employee identifier associated with the user. More...
 
char firstName [64]
 The first name of user. More...
 
char lastName [64]
 The last name of user. More...
 
char name [64]
 The unique name of the user that this resource is representing. More...
 
char note [1024]
 Supplemental information about the user. More...
 
char password [64]
 The password to associate with the user. Must contain more than 7 characters. More...
 
int phoneNumberSize
 The size of phoneNumbers. More...
 
VxPhoneNumberphoneNumbers
 The telephone number(s) for the user. More...
 

Detailed Description

Represents a new user to be created.

Definition at line 12 of file VxNewUser.h.

Constructor & Destructor Documentation

VxSdk::VxNewUser::VxNewUser ( )
inline

Initializes a new instance of the VxNewUser struct.

Definition at line 17 of file VxNewUser.h.

17  {
18  Clear();
19  }
void Clear()
Clears this instance.
Definition: VxNewUser.h:48
VxSdk::VxNewUser::VxNewUser ( const VxNewUser ref)
inline

Initializes a new instance of the VxNewUser struct.

Parameters
refThe reference.

Definition at line 25 of file VxNewUser.h.

25  {
26  this->mustChangePassword = ref.mustChangePassword;
27  Utilities::StrCopySafe(this->domain, ref.domain);
28  Utilities::StrCopySafe(this->employeeId, ref.employeeId);
29  Utilities::StrCopySafe(this->firstName, ref.firstName);
30  Utilities::StrCopySafe(this->lastName, ref.lastName);
31  Utilities::StrCopySafe(this->name, ref.name);
32  Utilities::StrCopySafe(this->note, ref.note);
33  Utilities::StrCopySafe(this->password, ref.password);
34  this->phoneNumberSize = ref.phoneNumberSize;
35  this->phoneNumbers = ref.phoneNumbers;
36  }
char lastName[64]
The last name of user.
Definition: VxNewUser.h:81
static void StrCopySafe(char(&dst)[dstSize], const char *src)
Performs a safe string copy.
Definition: VxUtilities.h:15
char note[1024]
Supplemental information about the user.
Definition: VxNewUser.h:89
char name[64]
The unique name of the user that this resource is representing.
Definition: VxNewUser.h:85
int phoneNumberSize
The size of phoneNumbers.
Definition: VxNewUser.h:97
char employeeId[64]
The employee identifier associated with the user.
Definition: VxNewUser.h:73
VxPhoneNumber * phoneNumbers
The telephone number(s) for the user.
Definition: VxNewUser.h:101
char password[64]
The password to associate with the user. Must contain more than 7 characters.
Definition: VxNewUser.h:93
char domain[64]
The network domain for the user. Defaults to LOCAL.
Definition: VxNewUser.h:69
bool mustChangePassword
If true, the new user will be forced to change their password the first time they log in...
Definition: VxNewUser.h:65
char firstName[64]
The first name of user.
Definition: VxNewUser.h:77
VxSdk::VxNewUser::~VxNewUser ( )
inline

Finalizes an instance of the VxNewUser struct.

Definition at line 41 of file VxNewUser.h.

41  {
42  Clear();
43  }
void Clear()
Clears this instance.
Definition: VxNewUser.h:48

Member Function Documentation

void VxSdk::VxNewUser::Clear ( )
inline

Clears this instance.

Definition at line 48 of file VxNewUser.h.

48  {
49  this->mustChangePassword = false;
50  VxZeroArray(this->domain);
51  VxZeroArray(this->employeeId);
52  VxZeroArray(this->firstName);
53  VxZeroArray(this->lastName);
54  VxZeroArray(this->name);
55  VxZeroArray(this->note);
56  VxZeroArray(this->password);
57  this->phoneNumberSize = 0;
58  this->phoneNumbers = nullptr;
59  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
char lastName[64]
The last name of user.
Definition: VxNewUser.h:81
char note[1024]
Supplemental information about the user.
Definition: VxNewUser.h:89
char name[64]
The unique name of the user that this resource is representing.
Definition: VxNewUser.h:85
int phoneNumberSize
The size of phoneNumbers.
Definition: VxNewUser.h:97
char employeeId[64]
The employee identifier associated with the user.
Definition: VxNewUser.h:73
VxPhoneNumber * phoneNumbers
The telephone number(s) for the user.
Definition: VxNewUser.h:101
char password[64]
The password to associate with the user. Must contain more than 7 characters.
Definition: VxNewUser.h:93
char domain[64]
The network domain for the user. Defaults to LOCAL.
Definition: VxNewUser.h:69
bool mustChangePassword
If true, the new user will be forced to change their password the first time they log in...
Definition: VxNewUser.h:65
char firstName[64]
The first name of user.
Definition: VxNewUser.h:77

Member Data Documentation

char VxSdk::VxNewUser::domain[64]

The network domain for the user. Defaults to LOCAL.

Definition at line 69 of file VxNewUser.h.

char VxSdk::VxNewUser::employeeId[64]

The employee identifier associated with the user.

Definition at line 73 of file VxNewUser.h.

char VxSdk::VxNewUser::firstName[64]

The first name of user.

Definition at line 77 of file VxNewUser.h.

char VxSdk::VxNewUser::lastName[64]

The last name of user.

Definition at line 81 of file VxNewUser.h.

bool VxSdk::VxNewUser::mustChangePassword

If true, the new user will be forced to change their password the first time they log in.

Definition at line 65 of file VxNewUser.h.

char VxSdk::VxNewUser::name[64]

The unique name of the user that this resource is representing.

Definition at line 85 of file VxNewUser.h.

char VxSdk::VxNewUser::note[1024]

Supplemental information about the user.

Definition at line 89 of file VxNewUser.h.

char VxSdk::VxNewUser::password[64]

The password to associate with the user. Must contain more than 7 characters.

Definition at line 93 of file VxNewUser.h.

VxPhoneNumber* VxSdk::VxNewUser::phoneNumbers

The telephone number(s) for the user.

Definition at line 101 of file VxNewUser.h.

int VxSdk::VxNewUser::phoneNumberSize

The size of phoneNumbers.

Definition at line 97 of file VxNewUser.h.


The documentation for this struct was generated from the following file: