Previous Topic: Sm_PolicyApi_GetPasswordPolicy()

Next Topic: Sm_PolicyApi_GetPolicy()

Sm_PolicyApi_GetPasswordPolicyByName()

Gets the contents of a password policy object.

Type

Password policy function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_GetPasswordPolicyByName (
   void*                           pSessionHandle,
   const char*                     pszPasswordPolicyName,
   Sm_PolicyApi_PasswordPolicy_t** ppstructPasswordPolicy
);

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
  PolicyName

I

A null-terminated string containing the name of the password policy.

ppstruct
  PasswordPolicy

O

The address of a pointer to Sm_PolicyApi_PasswordPolicy_t.

Returns


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