You need certain permissions to call various functions. For example, you need the 'statistics' function to call methods in the statistics API. In some cases you need permission to use a particular parameter within a method, for example the 'url' parameter of numberOverlay.
The function userPermissionsList returns the current permissions for your account. This function requires no parameters