UserAccess interface
Office 2013 and later
Represents the user access for a protected range.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Use the Add method or the Item property of the UserAccessList collection to return a UserAccess object.
Once a UserAccess object is returned, you can determine if access is allowed for a particular range in a worksheet, using the AllowEdit property.
Show: