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