Click or drag to resize
UserRoleInfoProviderGetUserRoleInfo Method

Note: This API is now obsolete.

Returns the UserRoleInfo structure for the specified userRole.

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

Parameters

userId
Type: SystemInt32
UserID
roleId
Type: SystemInt32
RoleID

Return Value

Type: UserRoleInfo
See Also