RemoveAllTokensFromUser method
Unassigns all Defender tokens from a user.
C# syntax
[OperationContract]
[FaultContract(typeof(FaultException))]
void RemoveAllTokensFromUser(string userCommonName, bool deleteSoftwareToken, string userSearchBase);
Parameters
- userCommonName Common name of the user whose tokens will be unassigned.
- deleteSoftwareToken If true then Defender Software tokens are removed from the directory as well as being removed from the user.
- userSearchBase Optional parameter to specify base container from which to search for users.
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.
RemoveDefenderPassword method
Deletes the Defender password for a user or all users in a group. When a user account name is specified, that user's Defender password is deleted. When a group name is specified, the Defender passwords for all users in that group are deleted.
C# syntax
[OperationContract]
[FaultContract(typeof(FaultException))]
void RemoveDefenderPassword(string userGroupCommonName, string userSearchBase);
Parameters
- userGroupCommonName Common name of the user or group of users from which the Defender Password will be removed.
- userSearchBase Optional parameter to specify base container from which to search for users.
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.
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.