Click or drag to resize
UserInfoProviderIsEmailUnique Method (String, UserInfo)
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: 9.0.0
Syntax
C#
public static bool IsEmailUnique(
	string email,
	UserInfo user
)

Parameters

email
Type: SystemString
E-mail
user
Type: CMS.MembershipUserInfo
Current user which should be checked

Return Value

Type: Boolean
See Also