This documentation is archived and is not being maintained.

UserAccessList Interface

A collection of UserAccess objects that represent the user access for protected ranges.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public interface UserAccessList : IEnumerable

Use the Users property of the AllowEditRange object to return a UserAccessList collection.

Once a UserAccessList collection is returned you can use the Count property to determine the number of users that have access to a protected range.