Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Membership Namespaces
CMS.Membership
UserInfoProvider Class
UserInfoProvider Methods
AddUserToRole Method
AddUserToSite Method
CheckLicense Method
CheckLicenseLimitation Method
CheckUserBelongsToSite Method
ClearLicenseValues Method
DeleteInfo Method
DeleteUser Method
EnsureRolesAndSites Method
EnsureRolesAndSitesForWindowsAuthentication Method
EnsureSitePrefixUserName Method
EnsureSitePrefixUserNameInternal Method
GenerateNewPassword Method
GenerateNewPasswordInternal Method
GetFormattedUserName Method
GetFullName Method
GetFullUserInfo Method
GetGenericRoles Method
GetPasswordHash Method
GetPasswordHashInternal Method
GetRequiredResourceUsers Method
GetRequiredResourceUsersInternal Method
GetRolesForUser Method
GetSearchDocuments Method
GetSearchWhereCondition Method
GetUserDataClassPermissions Method
GetUserInfo Method
GetUserInfoByFacebookConnectID Method
GetUserInfoByGUID Method
GetUserInfoByLinkedInID Method
GetUserInfoByWindowsLiveID Method
GetUserInfoForSitePrefix Method
GetUserInfoForSitePrefixInternal Method
GetUserMembershipRoles Method
GetUserMembershipRolesInternal Method
GetUserName Method
GetUserNameById Method
GetUserNameByIdInternal Method
GetUserNameSitePrefix Method
GetUserNameSitePrefixInternal Method
GetUserPermissions Method
GetUserResourcePermissions Method
GetUserRoles Method
GetUserRolesInternal Method
GetUsers Method
GetUsersDataWithSettings Method
GetUserSites Method
GetUserSitesInternal Method
InvalidateUser Method
IsAuthorizedPerClass Method
IsAuthorizedPerClassInternal Method
IsAuthorizedPerMetaFile Method
IsAuthorizedPerObject Method
IsAuthorizedPerResource Method
IsAuthorizedPerUIElement Method
IsEmailUnique Method
IsSitePrefixedUser Method
IsSitePrefixedUserInternal Method
IsUserInRole Method
IsUserNamePrefixUnique Method
IsUserPasswordDifferent Method
LicenseVersionCheck Method
NameIsReserved Method
ProcessWebFarmTaskInternal Method
RemoveUserFromRole Method
RemoveUserFromSite Method
SetEnabled Method
SetPassword Method
SetPreferredCultures Method
SetUserInfo Method
SetUserInfoInternal Method
TrimSitePrefix Method
TrimSitePrefixInternal Method
UpdateUserCounts Method
UserNameSitePrefixEnabled Method
ValidateCodeName Method
ValidateUserPassword Method
UserInfoProvider
GetGenericRoles Method
Gets user generic roles in format "'role1', 'role2'"
Namespace:
CMS.Membership
Assembly:
CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
string
GetGenericRoles
(
UserInfo
userInfo
)
Parameters
userInfo
Type:
CMS.Membership
UserInfo
User info
Return Value
Type:
String
See Also
Reference
UserInfoProvider Class
CMS.Membership Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com