Previous Topic: Sm_PolicyApi_AddMessageConsumerPluginToSAML1xScheme()

Next Topic: Sm_PolicyApi_AddPolicy()

Sm_PolicyApi_AddPasswordPolicy()

Adds a password policy object.

Note the following about Sm_PolicyApi_PasswordPolicy_t:

Type

Password policy function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_AddPasswordPolicy (
   void*                            pSessionHandle,
   Sm_PolicyApi_PasswordPolicy_t*   pstructPasswordPolicy,
   const bool                       bUpdate
);

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.

pstructPassword
  Policy

I

The address of a pointer to a Sm_PolicyApi_PasswordPolicy_t structure containing information about password policy.

bUpdate

I

A flag to indicate that if an existing object is found, it should be updated.

Returns


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