Click or drag to resize
IMembershipUserInfoProviderAdd Method
Creates MembershipUserInfo binding.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
void Add(
	int membershipId,
	int userId,
	DateTime validTo,
	bool sendNotification = false
)

Parameters

membershipId
Type: SystemInt32
Membership ID.
userId
Type: SystemInt32
User ID.
validTo
Type: SystemDateTime
Date to which membership is valid for user
sendNotification (Optional)
Type: SystemBoolean
Indicates, if notification will be sent to user when membership expires
See Also