Use the CICS_SetDefaultSecurity function, passing the user ID, password, and system name as input parameters to set the default security on a connection to a CICS® server.