getSitesAccessFromUser() public method

Get all sites and the specific access level (view or admin) where the given user has access to
public getSitesAccessFromUser ( string userLogin ) : ArrayList
userLogin string
return System.Collections.ArrayList
        private static void GetSitesAccessFromUser()
        {
            var usersManager = new UsersManager();
            usersManager.setTokenAuth("XYZ");

            var accessList = usersManager.getSitesAccessFromUser("foobar");
            foreach (Hashtable entries in accessList)
            {
                Console.WriteLine(entries["site"] + " | " + entries["access"]);
            }
        }