UserPermission.UserId Property
Gets the e-mail name of the user whose permissions on the active document are determined by the specified UserPermission object. Read-only.
Syntax
expression.UserId
expression A variable that represents a UserPermission object.
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 e-mail form of the user whose permissions are determined by the specified UserPermission object.
Example
The following example lists the users who have permissions on the active document.
| Visual Basic for Applications |
|---|
|