AddUserAuthentication adds a new UserAuthentication to the User.

Namespace: DotNetNuke.Services.Authentication
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static int AddUserAuthentication(
	int userID,
	string authenticationType,
	string authenticationToken
)
Visual Basic
Public Shared Function AddUserAuthentication ( 
	userID As Integer,
	authenticationType As String,
	authenticationToken As String
) As Integer

Parameters

userID
Type: System..::..Int32
The new Authentication System to add
authenticationType
Type: System..::..String
The authentication type
authenticationToken
Type: System..::..String
The authentication token

Return Value

returnsM:DotNetNuke.Services.Authentication.AuthenticationController.AddUserAuthentication(System.Int32,System.String,System.String)

See Also