Click or drag to resize
AuthenticationHelperAuthenticateLinkedInUser Method
Authenticates user with LinkedID parameters. It will create new user if not found in DB.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static UserInfo AuthenticateLinkedInUser(
	string profileID,
	string firstName,
	string lastName,
	string siteName,
	bool generatePassword,
	bool disableConfirmation,
	ref string error
)

Parameters

profileID
Type: SystemString
LinkedID profile identifier
firstName
Type: SystemString
User's first name
lastName
Type: SystemString
User's last name
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: UserInfo
UserInfo with authenticated user or null if user is not found
See Also