Permission.DocumentAuthor Property

Returns or sets the name in email form of the author of the active document.

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

Syntax

'Declaration
Property DocumentAuthor As String
    Get
    Set
'Usage
Dim instance As Permission
Dim value As String

value = instance.DocumentAuthor

instance.DocumentAuthor = value
string DocumentAuthor { get; set; }

Property Value

Type: System.String

Remarks

The DocumentAuthor property returns or sets the author of the active document. The author always has non-expiring owner rights to the document, whether owner permission is granted explicitly (through a UserPermission object) or not.

The DocumentAuthor property can only be changed to a different account that has been certified through the permissions user interface to open restricted content on the local machine. In most cases, users who have a single Windows account can only choose between their Windows and their Passport identities.

If the user's Microsoft Windows and Passport identities use the same email address, use the format passport:someone@example.com to specify the Passport identity as the DocumentAuthor property.

See Also

Reference

Permission Interface

Permission Members

Microsoft.Office.Core Namespace