Udostępnij za pośrednictwem


UserPermission.UserId Property

Returns the email name of the user whose permissions on the active document are determined by the specified UserPermission object.

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

Syntax

'Declaration
ReadOnly Default Property UserId As String
    Get
'Usage
Dim instance As UserPermission
Dim value As String

value = instance
string this { get; }

Property Value

Type: System.String

Remarks

The UserPermission object associates a set of permissions on the active document with a single user and an optional expiration date. The UserID property returns the name in email form of the user whose permissions are determined by the specified UserPermission object.

See Also

Reference

UserPermission Interface

UserPermission Members

Microsoft.Office.Core Namespace