Click or drag to resize
MembershipRoleInfoProviderSetMembershipRoleInfo Method

Note: This API is now obsolete.

Sets relationship between specified membership and role.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMembershipRoleInfoProvider.Set(MembershipRoleInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MembershipRoleInfo.Provider.")]
public static void SetMembershipRoleInfo(
	MembershipRoleInfo infoObj
)

Parameters

infoObj
Type: CMS.MembershipMembershipRoleInfo
Membership-role relationship to be set
See Also