UserPool Class Reference

#include <lib_net.h>

Public Member Functions

Bool AddUser (const String &username, const String &password, const String &description, Bool isAdmin)
 
Bool DeleteUser (const C4DUuid &userUuid)
 
Bool ChangePassword (const C4DUuid &userUuid, const String &oldPassword, const String &newPassword)
 
Bool ChangeDefaultLanguage (const C4DUuid &userUuid, const String &defaultLanguage)
 
Bool ChangeUserAccountType (const C4DUuid &userUuid, const Bool isAdmin)
 
Bool ChangeUserInfo (const C4DUuid &userUuid, const String &description)
 
Bool ChangeUserPassword (const C4DUuid &userUuid, const String &password)
 
Bool CheckUserCredentials (const String &username, const String &password) const
 
void GetUsers (maxon::BaseArray< User *> &users) const
 
UserGetUser (const String &username)
 

Member Function Documentation

◆ AddUser()

Bool AddUser ( const String username,
const String password,
const String description,
Bool  isAdmin 
)

◆ DeleteUser()

Bool DeleteUser ( const C4DUuid userUuid)

◆ ChangePassword()

Bool ChangePassword ( const C4DUuid userUuid,
const String oldPassword,
const String newPassword 
)

◆ ChangeDefaultLanguage()

Bool ChangeDefaultLanguage ( const C4DUuid userUuid,
const String defaultLanguage 
)

◆ ChangeUserAccountType()

Bool ChangeUserAccountType ( const C4DUuid userUuid,
const Bool  isAdmin 
)

◆ ChangeUserInfo()

Bool ChangeUserInfo ( const C4DUuid userUuid,
const String description 
)

◆ ChangeUserPassword()

Bool ChangeUserPassword ( const C4DUuid userUuid,
const String password 
)

◆ CheckUserCredentials()

Bool CheckUserCredentials ( const String username,
const String password 
) const

◆ GetUsers()

void GetUsers ( maxon::BaseArray< User *> &  users) const

◆ GetUser()

User* GetUser ( const String username)