Partager via


UserPermission.ExpirationDate Property

Returns or sets the optional expiration date of the permissions on the active document assigned to the user associated with the specified UserPermission object.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property ExpirationDate As Object
    Get
    Set
'Usage
Dim instance As UserPermission
Dim value As Object

value = instance.ExpirationDate

instance.ExpirationDate = value
Object ExpirationDate { get; set; }

Property Value

Type: System.Object

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

Reference

UserPermission Interface

UserPermission Members

Microsoft.Office.Core Namespace