Sets relationship between specified membership and user.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- membershipId
- Type: System Int32
Membership ID
- userId
- Type: System Int32
User ID
- validTo
- Type: System DateTime
Date to membership for user is valid
- sendNotification
- Type: System Boolean
Indicates, if notification will be send to user when membership is expiring
See Also