AuthenticationHelperAuthenticateFacebookConnectUser Method |
Authenticate user with provided Facebook Connect parameters. Create new user if createNew
is set to TRUE and user doesn't exist in DB.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax public static UserInfo AuthenticateFacebookConnectUser(
string facebookUserID,
string siteName,
bool generatePassword,
bool disableConfirmation,
ref string error
)
Parameters
- facebookUserID
- Type: SystemString
Facebook user ID - siteName
- Type: SystemString
Site name - generatePassword
- Type: SystemBoolean
Indicates if random password should be generated - disableConfirmation
- Type: SystemBoolean
Indicates if e-mail confirmation of newly registered user is disabled - error
- Type: SystemString
Error message which will be filled when error occurred
Return Value
Type:
UserInfoUserInfo with authenticated user or null if user is not found
See Also