Mi Galaxy EMQ Book

setUserInfo()


Setting up user Information

parameter SetUserInfoRequest

developerId : String : optional

When unspecified, the server automatically obtains the user's corresponding DeveloperID, and non-system administrator users cannot specify other people's DeveloperID

userName : String : optional

User name

email : String : optional

User's email address. When using the Queue's alert policy and the daily message count function, you must specify the user's email address beforehand, otherwise the alert policy and the daily message count function are not valid for the user.

sms : String : optional

The user's phone number; if the user set an alert policy, then the alert message will be sent to this phone number.

no return

getUserInfo()


Get user Information

parameter GetUserInfoRequest

developerId : String : optional

When unspecified, the server automatically obtains the user's corresponding DeveloperID, and non-system administrator users cannot specify other people's DeveloperID

return GetUserInfoResponse

developerId : String : required

User-corresponding DeveloperID

userName : String : optional

User name

email : String : optional

User's email address

sms : String : optional

User's contact number

getUserQuota()


Get user quota information

parameter GetUserQuotaRequest

developerId : String : optional

When unspecified, the server automatically obtains the user's corresponding DeveloperID, and non-system administrator users cannot specify other people's DeveloperID

return GetUserQuotaResponse

Content contains the maximum number of Queues users can create, and READQPS and WRITEQPS values that users can use

developerId : String : required

User-corresponding DeveloperID

userQuota : UserQuota : required

User quotas

- throughput : Throughput : optional

Contains readQps and writeQps; for more information see [

Throughput](create_delete_purge_Queue.md)
- queueNumber : long : optional

Number of Queues

getUserUsedQuota()


Get quota information that the user has already used

parameter GetUserUsedQuotaRequest

developerId : String : optional

When unspecified, the server automatically obtains the user's corresponding Developerid, and non-system administrator users cannot specify other people's Developerid

return GetUserQuotaResponse

Returns the number of Queues the user has currently established, and the values of readQps and writeQps that are currently used. Same as definition of above getUserQuota() results returned