Partager via


Owner Property

Returns the CoAuthor that owns the specified lock. Read-only.

Version Information

Version Added: Word 2010

Syntax

expression .Owner

expression An expression that returns a CoAuthLock object.

Example

The following code example displays the name of the owner of each lock in the active document.

Dim myLock As CoAuthLock 
 
For Each myLock In ActiveDocument.CoAuthoring.Locks 
    MsgBox "The owner of this lock is " & _ 
    myLock.Owner.Name & "." 
Next myLock

See Also

Concepts

CoAuthLock Object Members

CoAuthLock Object