Getting all users

I know this has probably been answered, but I couldn't find it on the site. We want to allow someone to invite all users on our site to a group whether they are friends or not. I did the following, and now you can invite anyone except those who are admins. Please help me out, thanks!

In mod/groups/views/default/forms/groups/invite.php I changed

"if ($friends = get_entities_from_relationship('friend',$_SESSION['guid'],false,'user','',0,'',9999)) {"

to

"if ($friends = get_entities('user') {"

For some reason this only shows normal users and no admins. I'm not sure why, as I thought admins would be under entity type "user" but I guess not?

 

Thanks in advance for any help!