Retrieve User Privileges & Entity Metadata Using SDK.SOAP in Javascript