Retrieves the status information for the specified smart card request. The unique universal identifier (UUID) used in the call to this procedure is returned when a request is submitted.

externalGetStatus
(
	@request_uuid uniqueidentifier
)

Parameters

Parameter Description

@request_uuid

[in] A UUID that is the unique identifier in the ExternalRequests table for the submitted request. This same identifier is output from all the FIM CM stored procedures whose names begin with external.

Return Value

If the procedure succeeds, one of the following values is returned.

Value Meaning

0

The request has not been processed.

3

The request has been approved.

4

The request has been denied.

8

The request has completed.

9

The request has failed.

16

The request is pending.

17

The request has been canceled.

18

The request is executing.

If the procedure fails, one of the following error codes is returned.

Value Meaning

-1

The cause of the error is unknown.

-2

The attempt to create the request failed.

-3

The data is not valid.

-4

The attempt to submit the request failed.

Example

The following code example shows how to retrieve the status of the smart card request specified by the UUID.

  Copy Code
DECLARE @RC		 int
DECLARE @request_uuid uniqueidentifier

-- Set parameter values
Set @request_uuid = '43C39520-0155-4283-907A-C7E878249241'

EXEC @RC = [CLM].[dbo].[externalGetStatus] @request_uuid

PRINT @RC

Requirements

Microsoft SQL Server® 2005 Service Pack 1 or SQL Server 2000 Service Pack 4

See Also


Send comments about this topic to Microsoft.
© 2007 Microsoft Corporation. All rights reserved.