(bug 16860) Add api for getting all global user

Add a new api to get all global users with the query-action.

Change-Id: Icc3d1aca9d06fcb02310faf3125980d337738578
Merge "(bug 16860) Add api for getting all global user"