UserInfoProvider CheckUserBelongsToSite Method Kentico 8.1 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.1.5347.20411)

Return Value

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