UserInfoProviderIsEmailUnique Method (String, String, Int32) |
Returns true if email doesn't exist in users table.
Depends on 'Unique e-mails' and 'Shared user accounts' settings
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntaxpublic static bool IsEmailUnique(
string email,
string siteName,
int currentUserId
)
Parameters
- email
- Type: SystemString
E-mail - siteName
- Type: SystemString
One or more site names separated by semicolon - currentUserId
- Type: SystemInt32
Current user id, if is 0 => new user
Return Value
Type:
Boolean
See Also