Partager via


CoAuthor.ID Property (Word)

Returns a String that specifies a unique identifier for the specified author. Read-only.

Version Information

Version Added: Word 2010

Syntax

expression .ID

expression An expression that returns a CoAuthor object.

Remarks

The unique identifier returned by the ID property should not be assumed to have a particular length or format.

Example

The following code example displays the unique identifier for each co-author in the active document.

Dim allAuthors As CoAuthors 
Dim coAuth As CoAuthor 
 
Set allAuthors = ActiveDocument.CoAuthoring.Authors 
 
For Each coAuth In allAuthors 
 MsgBox "The ID for " & _ 
 coAuth.Name & " is " & coAuth.ID & "." 
Next coAuth

See Also

Concepts

CoAuthor Object

CoAuthor Object Members