Click or drag to resize
UserInfoProviderGetUserRoles Method (UserInfo, String, String, Int32, String)
Returns the table of the user roles.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax
C#
public static DataTable GetUserRoles(
	UserInfo userInfo,
	string whereCondition,
	string orderBy,
	int topN,
	string columns
)

Parameters

userInfo
Type: CMS.MembershipUserInfo
User info for retrieving the role table
whereCondition
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by expression
topN
Type: SystemInt32
Get top N records
columns
Type: SystemString
Columns to get

Return Value

Type: DataTable
See Also