This API supports the FIM 2010 infrastructure. Using this API directly from your code is not supported.
Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in microsoft.resourcemanagement.dll)

Usage

Visual Basic
Dim instance As LockoutGate
Dim registrationData As Byte()
Dim responseData As WorkflowAuthenticationResponse
Dim validationError As String
Dim returnValue As Boolean

returnValue = instance.TryValidateUser(registrationData, responseData, validationError)

Syntax

Visual Basic
Public Overrides Function TryValidateUser ( _
		registrationData As Byte(), _
		responseData As WorkflowAuthenticationResponse, _
		<OutAttribute> ByRef validationError As String _
) As Boolean
C#
public override bool TryValidateUser (
		byte[] registrationData,
		WorkflowAuthenticationResponse responseData,
		out string validationError
)
C++
public:
virtual bool TryValidateUser (
		array<unsigned char>^ registrationData, 
		WorkflowAuthenticationResponse^ responseData, 
		[OutAttribute] String^% validationError
) override
J#
public boolean TryValidateUser (
		byte[] registrationData, 
		WorkflowAuthenticationResponse responseData, 
		/** @attribute OutAttribute() */ /** @ref */ String validationError
)
JScript

Parameters

registrationData

Represents registration data.

responseData

Represents response data.

validationError

Output string that represents the validation error.

Return Value

A Boolean value that indicates if the user was validated.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

Windows 2008 x64 Edition

See Also