Load User
Request
Method |
URL |
POST |
/smserver-default/sms.LoadUser |
RAW |
POST /smserver-default/sms.LoadUser HTTP/1.1 Cache-Control: no-cache Connection: Keep-Alive Pragma: no-cache Content-Type: application/json; charset=UTF-8 Accept: */* Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
[ { "AUName" : "pippo" } ] |
Explained |
Used to read the entire user object by querying its username.
Parameters: AUName: the username of the user profile you wish to read |
Response
Method |
URL |
RAW |
Accept-Encoding: synlz,gzip Content-Type: application/json; charset=UTF-8
{"result":[ { "_id" : "MAZ3LIRCVVBEJBGUHATZDARGMM", "UserType" : "SMS", "Username" : "pippo", "RemapDomain" : "", "Description" : "", "PHType" : "V4Plus", "Salt" : "3080944B", "Password" : "db42c10eb3981b1533927e5440a4df61804e81fcd9d31c9db56eaee65a524285edd67cba85d96a73a49addb5cb20ebe1827625195c7fe3b40d1f21ee55cf0eba", "PubKeys" : [], "Home" : { "MountPoint" : "/", "VFSItemID" : "KVFPSTBWKZHUTBHZ3RJDLK7EOA", "Visible" : true, "Permissions" : { "canGetFile" : true, "canPutFile" : false, "canDelFile" : false, "canModFile" : false, "canRenFile" : false, "canListDir" : true, "canMakeDir" : false, "canDelDir" : false, "canRenDir" : false }, "ImpType" : "None", "ImpUser" : "", "ImpPass" : "" }, "VirtualFolders" : [], "AuthTypes" : [ "Password" ], "AuthAll" : false, "AllowPlainFTP" : false, "AllowExplicitFTPS" : true, "AllowImplicitFTPS" : true, "AllowSSH" : false, "AllowSFTP" : true, "AllowForward" : false, "AllowWebDAV" : false, "AccountStatus" : "Enabled", "AutoEnable" : false, "EnabledAsOf" : "1899-12-31", "AutoDisable" : false, "AutoDisableWhen" : "1899-12-31", "AllowedIPs" : [], "AllowedFwd" : [], "SpeedLimits" : [], "EventHandlers" : [] } ],"id":772674711} |
Explained |
A JSON object containing the entire user profile of the requested user. |