AuthenticationHelper AuthenticateFacebookConnectUser Method Kentico 8.1 API Reference
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.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

facebookUserID
Type: OnlineSystem String
Facebook user ID
siteName
Type: OnlineSystem String
Site name
generatePassword
Type: OnlineSystem Boolean
Indicates if random password should be generated
disableConfirmation
Type: OnlineSystem Boolean
Indicates if e-mail confirmation of newly registered user is disabled
error
Type: OnlineSystem String 
Error message which will be filled when error occurred

Return Value

Type: UserInfo
UserInfo with authenticated user or null if user is not found
See Also