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