Partager via


Permission.Item Property

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

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

Syntax

'Declaration
ReadOnly Default Property Item ( _
    Index As Object _
) As UserPermission
    Get
'Usage
Dim instance As Permission
Dim Index As Object
Dim value As UserPermission

value = instance(Index)
UserPermission this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.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

Type: Microsoft.Office.Core.UserPermission

Remarks

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

See Also

Reference

Permission Interface

Permission Members

Microsoft.Office.Core Namespace