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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro