Checks if the user is subscribed to an ObjectKey

Namespace: DotNetNuke.Services.Social.Subscriptions.Data
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
IDataReader IsSubscribed(
	int portalId,
	int userId,
	int subscriptionTypeId,
	string objectKey,
	int moduleId,
	int tabId
)
Visual Basic
Function IsSubscribed ( 
	portalId As Integer,
	userId As Integer,
	subscriptionTypeId As Integer,
	objectKey As String,
	moduleId As Integer,
	tabId As Integer
) As IDataReader

Parameters

portalId
Type: System..::..Int32
Portal Id
userId
Type: System..::..Int32
User Id
subscriptionTypeId
Type: System..::..Int32
Subscription Type
objectKey
Type: System..::..String
Object Key
moduleId
Type: System..::..Int32
Module Id
tabId
Type: System..::..Int32
Tab Id

Return Value

Subscription

See Also