Click or drag to resize
AuthenticationHelperAuthenticateOpenIDUser Method
Authenticate user with provided OpenID 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: 12.0.0
Syntax
C#
public static UserInfo AuthenticateOpenIDUser(
	string claimedID,
	string providerUrl,
	string siteName,
	bool generatePassword,
	bool disableConfirmation,
	ref string error
)

Parameters

claimedID
Type: SystemString
OpenID Claimed Identifier
providerUrl
Type: SystemString
OpenID provider URL
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