Partager via


UserPermission Members

Include Protected Members
Include Inherited Members

The UserPermission object associates a set of permissions on the active document with a single user and an optional expiration date.

The UserPermission type exposes the following members.

Properties

  Name Description
Public property Application (Inherited from _IMsoDispObj.)
Public property Application Returns an Application object that represents the container application for the object.
Public property Creator (Inherited from _IMsoDispObj.)
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property ExpirationDate Returns or sets the optional expiration date of the permissions on the active document assigned to the user associated with the specified UserPermission object.
Public property Parent Returns the Parent object for the specified object.
Public property Permission Returns or sets an Integer value representing the permissions on the active document assigned to the user associated with the specified UserPermission object.
Public property UserId Returns the email name of the user whose permissions on the active document are determined by the specified UserPermission object.

Top

Methods

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

Top

See Also

Reference

UserPermission Interface

Microsoft.Office.Core Namespace