UserInfoProviderGetUserMembershipRoles Method |
Returns the table of the user roles given by membership connection.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax public static DataTable GetUserMembershipRoles(
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:
DataTableSee Also