UserPermission members (Office)

Associates a set of permissions on the active document with a single user and an optional expiration date. Represents a member of the active document's Permission collection.

Methods

Name Description
Remove Removes the specified UserPermission object from the Permission collection of the active document.

Properties

Name Description
Application Gets an Application object that represents the container application for the UserPermission object (you can use this property with an Automation object to return that object's container application). Read-only.
Creator Gets a 32-bit integer that indicates the application in which the UserPermission object was created. Read-only.
ExpirationDate Gets or sets the optional expiration date of the permissions on the active document assigned to the user associated with the specified UserPermission object. Read/write.
Parent Gets the Parent object for the UserPermission object. Read-only.
Permission Returns or sets a MsoPermission constant as a Long value representing the permissions on the active document assigned to the user associated with the specified UserPermission object. Read/write.
UserId Gets the email name of the user whose permissions on the active document are determined by the specified UserPermission object. Read-only.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.