getUsersAccessFromSite() public method

Get all piwik users and their access level for the piwik site with the given id
public getUsersAccessFromSite ( int idSite ) : ArrayList
idSite int
return System.Collections.ArrayList
        private static void GetUsersAccessFromSite()
        {
            var usersManager = new UsersManager();
            usersManager.setTokenAuth("XYZ");

            var accessList = usersManager.getUsersAccessFromSite(1);
            foreach (Hashtable entries in accessList)
            {
                foreach (DictionaryEntry pair in entries)
                {
                    Console.WriteLine(pair.Key + ": " + pair.Value);
                }
            }
        }