編輯

共用方式為


UserAccessList Interface

Definition

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

public interface class UserAccessList : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002446C-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface UserAccessList : System.Collections.IEnumerable
Public Interface UserAccessList
Implements IEnumerable
Attributes
Implements

Remarks

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.

Properties

_Default[Object]

Reserved for internal use.

Count

Returns the number of objects in the collection.

Item[Object]

Returns a single object from a collection.

Methods

Add(String, Boolean)

Adds a user access list. Returns a UserAccess object.

DeleteAll()

Removes all users associated with access to a protected range on a worksheet.

GetEnumerator()

Applies to