MarkLogic Server 11.0 Product Documentation
sec.userGetPasswordExtra

sec.userGetPasswordExtra(
   user-name as String
) as element(sec.passwordExtra)?

Summary

This function returns the extra information for the specified user. If the user does not exist, an exception is thrown.

Parameters
user-name The name of the user for whom to return the extra information.

Example


    const sec = require('/MarkLogic/security.xqy');
    
    sec.userGetPasswordExtra("Jim");
    // Returns the extra information for the user, Jim.
      
Powered by MarkLogic Server | Terms of Use | Privacy Policy