UserInfoProvider CheckUserBelongsToSite Method Kentico 8.0 API Reference
Check if user belongs to specified site, considering settings key CMSSiteSharedAccounts.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: UserInfo
Returns same userinfo if user belongs to site(if shared accounts disabled) or null if not
See Also