UserAccessList Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin