Permission.Item[Object] Property

Definition

Returns a UserPermission object that is a member of the Permission collection.

public:
 property Microsoft::Office::Core::UserPermission ^ default[System::Object ^] { Microsoft::Office::Core::UserPermission ^ get(System::Object ^ Index); };
public Microsoft.Office.Core.UserPermission this[object Index] { get; }
member this.Item(obj) : Microsoft.Office.Core.UserPermission
Default Public ReadOnly Property Item(Index As Object) As UserPermission

Parameters

Index
Object

Optional Object. The numeric index of the UserPermission in the Permission collection, or the email address of the user whose set of permissions on the active document is to be returned.

Property Value

Remarks

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

Applies to