Syntax
getUserInfo()
Returns data about the current user (the owner of the API key).
Access rights
Read access or full access required.
Arguments
none
Return Data
user_id – the numeric ID of the API key holder (e.g. 12345)
user_name – their Digistore ID (namely, the login name)
granted_roles – user roles separated with commas e.g. “user,affiliate,merchant,operator,admin”
granted_roles_msg – the roles in plain text separated with commas e.g. “User,Affiliate,Vendor,Operator,Admin”