Click or drag to resize
UserRoleInfoProviderSetUserRoleInfo Method

Note: This API is now obsolete.

Sets (updates or inserts) specified userRole.

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

Parameters

userRole
Type: CMS.MembershipUserRoleInfo
UserRole to set
See Also