Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.Membership
UserInfoProvider Class
UserInfoProvider Methods
AddUserToRole Method
AddUserToSite Method
Clear Method
ClearLicenseValues Method
DeleteUser Method
DeleteUserInternal Method
EnsureRolesAndSites Method
EnsureRolesAndSitesForWindowsAuthentication Method
EnsureSitePrefixUserName Method
EnsureSitePrefixUserNameInternal Method
GenerateNewPassword Method
GenerateNewPasswordInternal Method
GetFormattedUserName Method
GetFullName Method
GetFullUserInfo Method
GetFullUsers 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
GetUserInfoByGUIDInternal Method
GetUserInfoByLinkedInID Method
GetUserInfoByWindowsLiveID Method
GetUserInfoForSitePrefix Method
GetUserInfoForSitePrefixInternal Method
GetUserInfoInternal Method
GetUserInfoWithSettings Method
GetUserInfoWithSettingsInternal Method
GetUserMembershipRoles Method
GetUserMembershipRolesInternal Method
GetUserName Method
GetUserNameById Method
GetUserNameByIdInternal Method
GetUserPermissions Method
GetUserResourcePermissions Method
GetUserRoles Method
GetUserRolesInternal Method
GetUsers Method
GetUsersDataWithSettings Method
GetUserSites Method
GetUserSitesInternal Method
CheckLicense Method
CheckLicenseLimitation Method
CheckUserBelongsToSite 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
RemoveUserFromRole Method
RemoveUserFromSite 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: 10.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) 2016 Kentico Software
Send comments on this topic to
support@kentico.com