Previous Topic: Sm_PolicyApi_GetPasswordMsg()

Next Topic: Sm_PolicyApi_GetPasswordPolicyByName()

Sm_PolicyApi_GetPasswordPolicy()

Gets the contents of a password policy object.

Type

Password policy function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_GetPasswordPolicy (
   void*                           pSessionHandle,
   const char*                     pszPasswordPolicyOid,
   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
  PolicyOid

I

A null-terminated string containing the object identifier 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