SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 64976: A sample program that updates a stored password for a user in the metadata

DetailsCodeAboutRate It

The sample program on the Full Code tab demonstrates using metadata DATA step functions to locate and update a stored password in the metadata through SAS® code.

To run the sample program, you must update it with values for the following:

  • the metadata server host name and port
  • the user name and password to authenticate
  • the authentication domain of the password to update and the new password

Optionally, you can also provide the user ID to update in cases in which a user has multiple IDs available under the same authentication domain.

Here are the steps that the sample program performs:

  1. Connects to the metadata server and locates the login object.
  2. Performs a set attribute function on the "Password" attribute to the new value.
  3. Pulls the "Password" attribute value and checks it against what it was given to confirm that the new value is present.

To access the sample program, click the Full Code tab.




These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.