UserInfoProvider IsEmailUnique Method (String, IEnumerable String , Int32)Kentico 8.1 API Reference
Returns true if email doesn't exist in users table. Depends on 'Unique e-mails' and 'Shared user accounts' settings

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

Parameters

email
Type: OnlineSystem String
E-mail
siteNames
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
One or more site name
currentUserId
Type: OnlineSystem Int32
Current user id, if is 0 => new user

Return Value

Type: OnlineBoolean
See Also