API Documentation

User.GetCurrent

User.GetCurrent

Returns the basic information of the user currently logged in.

Parameters and required information

Here's a list of all the parameters you'll need to pass to the User.GetCurrent method. All of the parameters are required unless otherwise noted.

SessionKey
The session key obtained from User.Login

Return Codes

Success

Status: success
Returns the user data.
Status: fail
There was a problem while retrieving the user data.

Error

5002: Authentication Failure
No active session exists with this session key and developer account id. The user session has expired and the user has to to log on again.

HTTP POST

<?xml version="1.0" encoding="utf-8"?>  
<request>  
	<sessionkey>string</sessionkey>     
</request>  
<?xml version="1.0" encoding="utf-8"?>
<mediasilo_response method="User.Create" status="success">
	<user>
		<id>integer</id>
		<username>string</username>
		<firstname>string</firstname>
		<lastname>string</lastname>
		<email>string</email>
		<address1>string</address1>
		<city>string</city>
		<state>string</state>
		<zip>string</zip>
		<permissions>string</permissions> 
	</user>
</mediasilo_response>