UserPermission.Permission Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 int Permission { int get(); void set(int value); };
public int Permission { get; set; }
member this.Permission : int with get, set
Public Property Permission As Integer
Property Value
Remarks
The Permission property can be one or a combination of MsoPermission constants.
The UserPermission object associates a set of permissions on the active document with a single user and an optional expiration date. The Permission property returns the set of user permissions determined by the specified UserPermission object. While some permissions granted through the user interface (such as msoPermissionPrint) apply to all users, you can use the UserPermission object to assign them on a per-user basis with per-user expiration dates.