Search the site

 Problem Description

I get the following error when trying to access or write to the user object

Description  'null' is null or not an object

Source   var company = userInfo.getProperty("company");



 Solution

The reason is most likely that you have managed to log on to the site with a domain account that has not been indexed by ScriptServer, but is allowed access since it is a member of a security group that has access, for example Administrators.

To solve this you should either log in with another account or make sure it gets indexed. This is done as usual through the "Manage Your ScriptServer" tools.


Published by: Henrik Weimenhög / scriptserver.com