(Contents)(Previous)(Next)

SetUser(user As Object)

Description: Associates the conversation with the passed in user.
Syntax: object.SetUser(user)
Parameters:
object Required, the Conversation object
user The user to associate with the conversation.
Remarks: This method associates this conversation with the passed in user. This means that the conversation will appear as a history item belonging to the user.
Returns: Nothing
Example:
Dim session As Object

Set session = CreateObject("OfficeTalk.Session")

Call session.Logon(login name, password)

Set conv = session.GetConversations.GetFirst

Set user = session.FindUserByLoginName("fred")

Call conv.SetUser(user)


Next