function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
reidar_mstrreidar_mstr 

Selecting Users' ID

So basically I'm trying to find all the Users which are under the certain Manager.

 

When I run query "SELECT Id,Name FROM User WHERE ManagerId=xxxxxxx" I get just the names but no IDs.

 

The query "SELECT Id FROM User" yields an array of nulls. I'm doing this via API using Sandbox environment and credentials of a user who is a System Admin.

 

Is this a bug? Has anybody experienced this before?

Santhosh KumarSanthosh Kumar

I don't think selecting User Id through API is any issue. See the example that I tried.

 

http://i.imgur.com/smesq.png