Loading TOC...

MarkLogic Server 11.0 Product Documentation
sec:user-get-password-extra

sec:user-get-password-extra(
   $user-name as xs:string
) as element(sec:password-extra)?

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


  xquery version "1.0-ml"; 

  import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";

  sec:user-get-password-extra("Jim")

  (: Returns the extra information for the user, Jim. :)
      

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.