![]() |
C++/CLI Sample
Demonstrates how to create a C++/CLI library using the VideoXpert SDK
|
The User class represents information about a system user. More...
#include <User.h>
Public Types | |
enum | PhoneType { PhoneType::Home, PhoneType::HomeFax, PhoneType::Mobile, PhoneType::Other, PhoneType::Pager, PhoneType::Work, PhoneType::WorkFax } |
Values that represent the type of a phone number. More... | |
Public Member Functions | |
User (VxSdk::IVxUser *vxUser) | |
Constructor. More... | |
virtual | ~User () |
Destructor. More... | |
!User () | |
Finaliser. More... | |
CPPCli::Results::Value | AddToRole (CPPCli::Role^ role) |
Add this user to a role. More... | |
Results::Value | Refresh () |
Update this instances properties. More... | |
CPPCli::Results::Value | RemoveFromRole (CPPCli::Role^ role) |
Remove this user from a role. More... | |
CPPCli::Results::Value | SetPassword (System::String^ newPassword) |
Submit a request for a password change. More... | |
Package Functions | |
bool | _GetAccountState () |
System::Collections::Generic::List< DataObject^ >^ | _GetDataObjects () |
System::Collections::Generic::List< Role^ >^ | _GetRoles () |
System::Collections::Generic::List< Tag^ >^ | _GetTags () |
Package Attributes | |
VxSdk::IVxUser * | _user |
Properties | |
bool | AccountState [get, set] |
Gets or sets the state of the user account, either enabled or disabled. More... | |
System::Collections::Generic::List< DataObject^ >^ | DataObjects [get] |
Gets all private data objects owned by this user and all public data objects. Other user’s private data objects will not be returned. More... | |
System::String^ | Domain [get, set] |
Gets or sets the network domain for this user. More... | |
System::String^ | EmployeeId [get, set] |
Gets or sets the employee identifier associated with the user. More... | |
System::String^ | FirstName [get, set] |
Gets or sets the first name of user. More... | |
System::String^ | Id [get] |
Gets the unique identifier of the user. More... | |
System::String^ | LastName [get, set] |
Gets or sets the last name of user. More... | |
System::String^ | Name [get, set] |
Gets or sets the friendly name, within the domain, of the user. More... | |
System::String^ | Note [get, set] |
Gets or sets supplemental information about the user. More... | |
System::DateTime | PasswordExpiration [get] |
Gets the time at which the user’s password will expire. More... | |
System::Collections::Generic::List< System::Collections::Generic::KeyValuePair< User::PhoneType, System::String^ >>^ | PhoneNumbers [get, set] |
Gets or sets the telephone number(s) for the user. More... | |
System::Collections::Generic::List< Role^ >^ | Roles [get] |
Gets the roles currently assigned to this user. More... | |
System::Collections::Generic::List< Tag^ >^ | Tags [get] |
Gets the tags currently assigned to this user. More... | |
|
strong |
CPPCli::User::User | ( | VxSdk::IVxUser * | vxUser | ) |
Constructor.
vxUser | The vx user. |
CPPCli::User::!User | ( | ) |
|
package |
|
package |
Definition at line 53 of file User.cpp.
|
package |
|
package |
CPPCli::Results::Value CPPCli::User::AddToRole | ( | CPPCli::Role^ | role | ) |
Add this user to a role.
role | The role to add this user to. |
Definition at line 18 of file User.cpp.
CPPCli::Results::Value CPPCli::User::Refresh | ( | ) |
Update this instances properties.
Definition at line 25 of file User.cpp.
CPPCli::Results::Value CPPCli::User::RemoveFromRole | ( | CPPCli::Role^ | role | ) |
Remove this user from a role.
role | The role to remove this user from. |
Definition at line 29 of file User.cpp.
CPPCli::Results::Value CPPCli::User::SetPassword | ( | System::String^ | newPassword | ) |
Submit a request for a password change.
newPassword | The new password. |
Definition at line 36 of file User.cpp.
|
package |
|
getset |
|
get |
|
getset |
|
getset |
|
getset |
|
get |
|
getset |
|
getset |
|
getset |
|
get |
|
getset |
|
get |
|
get |