UserPermission.ExpirationDate property (Office)

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.

Syntax

expression.ExpirationDate

expression A variable that represents a UserPermission object.

Return value

Variant

Remarks

The UserPermission object associates a set of permissions on the active document with a single user and an optional expiration date. The ExpirationDate property returns or sets the optional expiration date of the specified UserPermission object using the local time zone.

See also

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.