Previous Topic: Sm_PolicyApi_GetRegistrationSchemeByName()

Next Topic: Sm_PolicyApi_GetResponse()

Sm_PolicyApi_GetRegularExpressions()

Gets a list of regular expressions belonging 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_GetRegularExpressions (
   void*                               pSessionHandle,
   const char*                         pszPasswordPolicyOid,
   Sm_PolicyApi_RegularExpression_t**  ppstructRegExpr
);

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.

ppstructRegExpr

O

Pointer to a linked list of regular expressions belonging to the referenced password policy.

Returns


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