UserPermissionCollection members

Office 2013 and later

Represents the collection of UserPermission objects associated with the current form.

The UserPermissionCollection type exposes the following members.

  Name Description
Public property Count Gets the number of UserPermission objects in the collection.
Public property Item[Int32] Gets the UserPermission object at the specified index in the collection.
Public property Item[String] Get the UserPermission object with the specified UserId from the collection.
Top

  Name Description
Public method Add(String) Adds a new user to the current form.
Public method Add(String, PermissionType) Adds a new user with the specified permissions.
Public method Add(String, DateTime) Add a new user to the current form with an expiration date.
Public method Add(String, PermissionType, DateTime) Creates a new set of permissions on the current form for the specified user with the specified permissions and an expiration date.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an IEnumerator for iterating over the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes the UserPermission object with the specified UserId from the collection.
Public method RemoveAll Removes all UserPermission objects from the collection.
Public method ToString (Inherited from Object.)
Top
Show: