AccountManagementService

Protocols

Protocol IDName
25AccountManagementProtocol

AccountManagementProtocol

Method IDSignature
1
func CreateAccount(strPrincipalName: string, strKey: string, uiGroups: uint32, strEmail: string) -> (retval: qresult)
2
func DeleteAccount(idPrincipal: uint32) -> ()
3
func DisableAccount(idPrincipal: uint32, dtUntil: datetime, strMessage: string) -> (retval: qresult)
4
func ChangePassword(strNewKey: string) -> (retval: bool)
5
func TestCapability(uiCapability: uint32) -> (retval: bool)
6
func GetName(idPrincipal: uint32) -> (strName: string)
7
func GetAccountData() -> (retval: qresult, oAccountData: [[AccountData]]((accountdata)))
8
func GetPrivateData() -> (retval: bool, oData: any<[[Data]]((data)), string>)
9
func GetPublicData(idPrincipal: uint32) -> (retval: bool, oData: any<[[Data]]((data)), string>)
10
func GetMultiplePublicData(lstPrincipals: std_list<uint32>) -> (retval: bool, oData: std_list<any<[[Data]]((data)), string>>)
11
func UpdateAccountName(strName: string) -> (retval: qresult)
12
func UpdateAccountEmail(strName: string) -> (retval: qresult)
13
func UpdateCustomData(oPublicData: any<[[Data]]((data)), string>, oPrivateData: any<[[Data]]((data)), string>) -> (retval: qresult)
14
func FindByNameRegex(uiGroups: uint32, strRegex: string, resultRange: [[ResultRange]]((resultrange))) -> (plstAccounts: std_list<[[BasicAccountInfo]]((basicaccountinfo))>)
15
func UpdateAccountExpiryDate(idPrincipal: uint32, dtExpiry: datetime, strExpiredMessage: string) -> ()
16
func UpdateAccountEffectiveDate(idPrincipal: uint32, dtEffectiveFrom: datetime, strNotEffectiveMessage: string) -> ()
17
func UpdateStatus(strStatus: string) -> ()
18
func GetStatus(idPrincipal: uint32) -> (strStatus: string)
19
func GetLastConnectionStats(idPrincipal: uint32) -> (dtLastSessionLogin: datetime, dtLastSessionLogout: datetime, dtCurrentSessionLogin: datetime)
20
func ResetPassword() -> (retval: bool)
21
func CreateAccountWithCustomData(strPrincipalName: string, strKey: string, uiGroups: uint32, strEmail: string, oPublicData: any<[[Data]]((data)), string>, oPrivateData: any<[[Data]]((data)), string>) -> ()
22
func RetrieveAccount() -> (oAccountData: [[AccountData]]((accountdata)), oPublicData: any<[[Data]]((data)), string>, oPrivateData: any<[[Data]]((data)), string>)
23
func UpdateAccount(strKey: string, strEmail: string, oPublicData: any<[[Data]]((data)), string>, oPrivateData: any<[[Data]]((data)), string>) -> ()
24
func ChangePasswordByGuest(strPrincipalName: string, strEmail: string, strKey: string) -> ()
25
func FindByNameLike(uiGroups: uint32, strLike: string, resultRange: [[ResultRange]]((resultrange))) -> (plstAccounts: std_list<[[BasicAccountInfo]]((basicaccountinfo))>)
26
func CustomCreateAccount(strPrincipalName: string, strKey: string, uiGroups: uint32, strEmail: string, oAuthData: any<[[Data]]((data)), string>) -> (pid: uint32)
27
func LookupOrCreateAccount(strPrincipalName: string, strKey: string, uiGroups: uint32, strEmail: string, oAuthData: any<[[Data]]((data)), string>) -> (pid: uint32)
28
func CreateAccountEx(principalType: int8, strPrincipalName: string, strKey: string, uiGroups: uint32, strEmail: string, context: uint64) -> (retval: qresult)
29
func DisconnectPrincipal(idPrincipal: uint32) -> (retval: bool)
30
func DisconnectAllPrincipals() -> (retval: bool)