MembershipRoleInfoProviderAddMembershipToRole Method |
Sets relationship between specified membership and role.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax public static void AddMembershipToRole(
int membershipId,
int roleId
)
Parameters
- membershipId
- Type: SystemInt32
Membership ID - roleId
- Type: SystemInt32
Role ID
See Also