DMSRVUSER Function

Registers a user on a DataFlux Data Management Server.

Valid in: DATA step, PROC SQL, and SCL

Syntax

DMSRVUSER(user-ID, password)

Required Arguments

user-ID

identifies a user-ID according to the registry in a DataFlux Data Management Server.

password

identifies the associated user-ID user according to the registry in the DataFlux Data Management Server. The password can be plain text or encoded in SAS.

Details

The DMSRVUSER function registers a user on a secure DataFlux Data Management Server. A return value of zero indicates storage of credentials was successful. A return value of 1 indicates a failure to store the credentials.
  • Call this function as needed in a single DATA step to access different Data Management Servers or to change the registered user credentials within a single Data Management Server.
  • If security has not been configured on a DataFlux Data Management Server, then the DMSRVUSER function has no effect.
  • Return values are 0 (successful registration of credentials) or 1 (failed to register credentials).

Example: DMSRVUSER Function

The following example supplies a user identifier and a password to a secure DataFlux Data Management Server:
rc= dmsrvUser('dfUser3','pwdUser3');