MembershipRoleInfoProvider.AddMembershipToRole Method |
Sets relationship between specified membership and role.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntaxpublic static void AddMembershipToRole(
int membershipId,
int roleId
)
Parameters
- membershipId
- Type: System.Int32
Membership ID - roleId
- Type: System.Int32
Role ID
See Also