RemovePinFromUserToken method
Removes a user's PIN from an assigned token.
C# syntax
[OperationContract]
[FaultContract(typeof(FaultException))]
void RemovePinFromUserToken(string userCommonName, string tokenCommonName, string userSearchBase, string tokenSearchBase);
Parameters
- userCommonName Common name of the user from whom the PIN will be removed.
- tokenCommonName Common name of the token from which the PIN wil be removed.
- userSearchBase Optional parameter to specify base container from which to search for users.
- tokenSearchBase Optional parameter to specify base container from which to search for tokens.
Return value
In the case of an error a Fault is generated. The faultCode can be one of the following:
- ArgumentOutOfRange One of the arguments was invalid, further details will be contained in the faultstring.
- UnknownFault Any other error, further details may be included in the faultstring.
RemoveTemporaryResponse method
Removes a temporary response from a token assigned to a user.
C# syntax
[OperationContract]
[FaultContract(typeof(FaultException))]
void RemoveTemporaryResponse(string userCommonName, string tokenCommonName, string userSearchBase, string tokenSearchBase);
Parameters
- userCommonName Common name of the user from which the temporary response will be removed.
- tokenCommonName Common name of the user from which the temporary response will be removed.
- userSearchBase Optional parameter to specify base container from which to search for users.
- tokenSearchBase Optional parameter to specify base container from which to search for tokens.
Return value
In the case of an error a Fault is generated. The faultCode can be one of the following:
- ArgumentOutOfRange One of the arguments was invalid, further details will be contained in the faultstring.
- UnknownFault Any other error, further details may be included in the faultstring.
RemoveTokenFromUser method
Unassigns a Defender token from a user.
C# syntax
[OperationContract]
[FaultContract(typeof(FaultException))]
AssignedToken RemoveTokenFromUser(string userCommonName, string tokenCommonName, bool deleteSoftwareToken, string userSearchBase, string tokenSearchBase);
Parameters
- userCommonName Common name of the user whose tokens are to be unassigned.
- tokenCommonName Common name of the token that is to be unassigned.
- deleteSorfwareToken If true, then Defender Software tokens are removed from the directory and from the user.
- userSearchBase Optional parameter to specify base container in which to search for users.
- tokenSearchBase Optional parameter to specify base container in which to search for tokens.
Return value
A successful unassignment results in an AssignedToken being returned. If the token was already unassigned, then the AssignedToken.TokenCommonName indicates this. In the case of an error a Fault is generated.
The faultCode can be one of the following:
- ArgumentOutOfRange One of the arguments was invalid, further details are contained in the faultstring.
- UnknownFault Any other error, further details may be included in the faultstring.
ResetDefenderToken method
Resets a Defender token to aid authentication when the token is out of synchronization with the server.
C# syntax
[OperationContract]
[FaultContract(typeof(FaultException))]
DefenderResult ResetDefenderToken(string tokenCommonName, string tokenSearchBase);
Parameters
- tokenCommonName Common name of the token to reset.
- tokenSearchBase Optional parameter to specify base container in which to search for tokens.
Return value
A DefenderResult is returned indicating the success or otherwise of the reset. In the case of an error a Fault is generated.
The faultCode can be one of the following:
- ArgumentOutOfRange One of the arguments was invalid, further details are contained in the faultstring.
- UnknownFault Any other error, further details may be included in the faultstring.