getPasswordPolicy: method

Retrieves the password policy set by the administrator in SCC for the application.

Syntax

- ( DataVaultPasswordPolicy * ) getPasswordPolicy : ( NSError ** ) error

Parameters

Returns

Returns the structure containing the password policy.

Example 1

SMPAppSettings* appSettings = [SMPAppSettings initializeWithConnection:clientConn userName:"username" password:@"password"];
NSError* error = nil;
DataVaultPasswordPolicy *dvppStruct = [appSettings getPasswordPolicy:&error];
if (!error)
{
    // Further processing
}