Submits a request to disable a temporary smart card for a specified user. After the request is submitted, it will be processed in the same way as any other request within Forefront Identity Manager Certificate Management (FIM CM) and subject to the workflow and policy rules associated with the profile template.

		@serial varchar(50),
		 @registration_data ntext = NULL,
		@comments nvarchar(256),
		 @request_uuid uniqueidentifier OUTPUT,
		@request_priority tinyint = 0


Parameter Description


[in] The smart card serial number for the temporary smart card to disable, prefixed with the manufacturer identification number.


[in] An XML document that contains the name/value pairs for any data that is required for the FIM CM profile template temporary policy. This parameter can be NULL.


[in] Comment stored for the request. This parameter can be NULL.


[out] A UUID that is the unique identifier for the submitted request. This identifier can be used to determine the status of the request using the externalGetStatus stored procedure.


[in] An integer value between 0 and 255 indicating the priority of the request. Zero is the highest priority and 255 is the lowest. This parameter can be NULL.

Return Value

Zero if the procedure succeeds, otherwise one of the following error codes.

Value Meaning


The cause of the error is unknown.


The attempt to create the request failed.


The data is not valid.


The attempt to submit the request failed.


The following code example shows how to disable a temporary smart card.

  Copy Code
DECLARE @RC			 int
DECLARE @serial		 varchar(50)
DECLARE @comments		 nvarchar(256)
DECLARE @request_uuid	 uniqueidentifier
DECLARE @request_priority tinyint

-- Set parameter values
SET @serial = 'A.E.T. Europe B.V.:5144018935907492'
SET @comments = N'Temp Card Disable Request Submitted by External Api (with comments)'
SET @request_priority = 111

EXEC @RC = [clm].[dbo].[externalSubmitTemporaryCardDisableRequest]
						@request_uuid OUTPUT , 

PRINT @request_uuid


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.