Click or drag to resize
GroupInfoProviderGetUserGroupsCount Method
Gets number of user groups.

Namespace: CMS.Community
Assembly: CMS.Community (in CMS.Community.dll) Version: 12.0.0
Syntax
C#
public static int GetUserGroupsCount(
	UserInfo userInfo,
	SiteInfo siteInfo
)

Parameters

userInfo
Type: CMS.MembershipUserInfo
User info
siteInfo
Type: CMS.SiteProviderSiteInfo
Site info

Return Value

Type: Int32
See Also