Save a like on journal item.
Namespace: DotNetNuke.Services.JournalAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void LikeJournalItem( int journalId, int userId, string displayName ) |
Visual Basic |
---|
Sub LikeJournalItem ( journalId As Integer, userId As Integer, displayName As String ) |
Parameters
- journalId
- Type: System..::..Int32
Id of journal item.
- userId
- Type: System..::..Int32
Id of current user.
- displayName
- Type: System..::..String
User's display name.