Previous Topic: Sm_PolicyApi_AddRegistrationScheme()

Next Topic: Sm_PolicyApi_AddResponse()

Sm_PolicyApi_AddRegularExpressionToPasswordPolicy()

Adds a regular expression to the referenced password policy. Implemented only if the session's version is set to SM_POLICY_API_VERSION_6_0.

Type

Regular Expression function.

Syntax

int SM_EXTERN    Sm_PolicyApi_AddRegularExpressionToPasswordPolicy (
   void*                              pSessionHandle,
   const char*                        pszPasswordPolicyOid,
   Sm_PolicyApi_RegularExpression_t*  pstructRegExpr
);

Parameter

I/O

Description

pSessionHandle

I

A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session.

pszPassword
  PolicyOid

I

The OID of the password policy to add the regular expression to.

pstructRegExpr

I

A pointer to the regular expression structure to add.

Returns


Copyright © 2010 CA. All rights reserved. Email CA about this topic