Author Property

Microsoft Office Web Discussions Client Language

Author Property

       

Gets the user name of the current discussion item’s author. Read-only String.

expression.Author

expression   Required. An expression that returns a Discussion object.

Example

This example sets the boolean value positiveMatch to True if the Author property returns the name “Jim Hance”.

Dim dscDiscussions As Discussions
Dim positiveMatch As Boolean
Set dscDiscussions = OpenDiscussions("http://samples.microsoft.com")
If dscDiscussions(1).Discussions(2).Author = "Jim Hance" Then
    positiveMatch = True
End If