About Account Information

About Account Information

Introduction

You can use the account method to retrieve the account information for the current user. The response includes the mobile phone number for users who log on using their mobile phone number.

Examples

Code Sample

	cloud.account({
		success: function(success) {
			//the account call will return a user id you can use to reference a user
			var userId = success.body.id;
			var bytesUsed = success.body.usage.quotaUsed;
			var bytesAllowed = success.body.usage.quota;
		}
	});

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.