LockoutGate.TryValidateUser Method

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

'Usage
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

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

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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

LockoutGate Class
LockoutGate Members
Microsoft.ResourceManagement.Workflow.Activities Namespace