UpdateExtendedSecurityParameter
The UpdateExtendedSecurityParameter method allows you to modify an existing security parameter. This method differs from the UpdateSecurityParameter method in that it includes the following parameters:
- Uppercase Characters Required
- Lowercase Characters Required
- Special Characters Required
On this page
Usage
Privileges. This method requires Update privileges.
Parameters.
Parameter |
Type |
Value |
---|---|---|
sessionToken |
String |
Valid sessionToken returned by the general.CreateUserSession method. |
securityParameterId |
Integer |
Internal ID of the security parameter returned in the xcomp_sec_prm_id element after calling accesscontrol.GetSecurityParameters. |
name |
String |
Name of the security parameter. |
description |
String |
Description of the security parameter. |
minPasswordLength |
Integer |
Minimum number of characters required in the password. |
MinPasswordCharacters |
Integer |
Minimum number of alpha characters required in the password. |
minPasswordNumerals |
Integer |
Minimum number of numeric characters required in the password. |
passwordLifetime |
Integer |
Length of time in days that a password is valid. |
graceLogins |
Integer |
Maximum number of grace logons allowed after a password lifetime has expired. |
maxRetries |
Integer |
Maximum number of times a user can unsuccessfully attempt to log on to the system before the account is put into a locked state. |
lockDuration |
Integer |
Duration that a user account remains in a locked state after surpassing the maximum number of retries. |
lockIntervalType |
Integer |
Type of lock duration (1=Hours, 2=Minutes, and 3=Days). |
sessionTimeout |
Integer |
Duration of inactivity after which a user session times out. Note: The unit of measure is set in the timeoutIntervalType element. |
passwordHistoryCheckDepth |
Integer |
Number of previous passwords to keep track of and to restrict the reuse of. |
expiratonNotice |
Integer |
Number of days before a password's expiration that a warning is displayed. |
accountTimeout |
Integer |
Number of days after which an account status is automatically changed to inactive. 0 = none or never automatically deactivates |
timeoutIntervalType |
Integer |
Unit of measure for sessionTimeout (1=Hours, 2=Minutes, and 3=Days). |
minUppercaseCharacters |
Integer |
Number of uppercase characters that must be contained in a user password. |
minLowercaseCharacters |
Integer |
Number of lowercase characters that must be contained in a user password. |
minSpecialCharacters |
Integer |
Number of special characters that must be contained in a user's password. Special characters can include: |
pinTimeout |
Integer |
Maximum length of time a PIN remains active before the PIN expires. |
pinTimeoutType |
Integer |
Type of PIN timeout (1=Hours, 2=Minutes, and 3=Days). |
pinMaxResendAttempts |
Integer |
Number of times users can request a PIN before the system prevents them from requesting additional PINs. |
pinResendLockTimeout |
Integer |
Lockout period before users can request a PIN after they exceed their maximum PIN request limit. |
pinResendLockTimeoutType |
Integer |
Type of Resend PIN Lock Timeout (1=Hours, 2=Minutes, and 3=Days). |
Output. This method returns an integer. If the method is successful, the value is 1. If there is a failure, the API issues an exception.
Samples
Sample C# Call
iReturnCode = access.UpdateExtendedSecurityParameter(sSessionToken, iSecParmID, "WebAPI_Updated", "Descriptive text", 6, 2, 2, 11, 17, 7, 1, 1, 31, 7, 3, 23, 1,1,2,4);
Sample Request
The following is a sample SOAP 1.1 request and response. The placeholders shown would be replaced with actual values. SOAP 1.2 also is supported.
POST /archer/ws/accesscontrol.asmx HTTP/1.1
Host: staging
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://archer-tech.com/webservices/UpdateExtendedSecurity Parameter"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateExtendedSecurityParameter xmlns="http://archer-tech.com/webservices/">
<sessionToken>string</sessionToken>
<securityParameterId>int</securityParameterId>
<name>string</name>
<description>string</description>
<minPasswordLength>int</minPasswordLength>
<minPasswordCharacters>int</minPasswordCharacters>
<minPasswordNumerals>int</minPasswordNumerals>
<passwordLifetime>int</passwordLifetime>
<graceLogins>int</graceLogins>
<maxRetries>int</maxRetries>
<lockDuration>int</lockDuration>
<lockIntervalType>int</lockIntervalType>
<sessionTimeout>int</sessionTimeout>
<passwordHistoryCheckDepth>int</passwordHistoryCheckDepth>
<expirationNotice>int</expirationNotice>
<accountTimeout>int</accountTimeout>
<timeoutIntervalType>int</timeoutIntervalType>
<minUppercaseCharacters>int</minUppercaseCharacters>
<minLowercaseCharacters>int</minLowercaseCharacters>
<minSpecialCharacters>int</minSpecialCharacters>
<pinTimeout>int</pinTimeout>
<pinTimeoutType>int</pinTimeoutType>
<pinMaxResendAttempts>int</pinMaxResendAttempts>
<pinResendLockTimeout>int</pinResendLockTimeout>
<pinResendLockTimeoutType>int</pinResendLockTimeoutType>
</UpdateExtendedSecurityParameter>
</soap:Body>
</soap:Envelope>
Sample Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateExtendedSecurityParameterResponse xmlns="http://archer-tech.com/webservices/">
<UpdateExtendedSecurityParameterResult>int</UpdateExtendedSecurityParameterResult>
</UpdateExtendedSecurityParameterResponse>
</soap:Body>
</soap:Envelope>