Hi Geert,

I understand that. But first, what rest-api function will I use to build 
the connection? Would I also be using the /v2/search?Second, after 
authenticating, I would want to determine the roles assign to the logged 
user so I can show/allow the user for certain functionalities in my app. 

Do you have a sample code?

Thanks for your very quick reply.

Rufel P. Aganan
Systems Analyst
DBP Data Center, Inc.
848-0277 



From:   Geert Josten <[email protected]>
To:     MarkLogic Developer Discussion <[email protected]>
Cc:     "[email protected]" <[email protected]>, "[email protected]" 
<[email protected]>, "Ortega, Maggi" <[email protected]>
Date:   10/08/15 02:45 PM
Subject:        Re: [MarkLogic Dev General] Marklogic REST-API 
Authentication (Login)
Sent by:        [email protected]



Hi Rufel,

The fact that you are able to put data/docs, and search through them means 
you are already able to authenticate against MarkLogic. You typically 
build up a connection, and that is when you provide user/password.

Kind regards,
Geert

From: <[email protected]> on behalf of "
[email protected]" <[email protected]>
Reply-To: MarkLogic Developer Discussion <[email protected]>
Date: Thursday, October 8, 2015 at 8:12 AM
To: MarkLogic Developer Discussion <[email protected]>
Cc: "[email protected]" <[email protected]>, "[email protected]" <
[email protected]>, "Ortega, Maggi" <[email protected]>
Subject: [MarkLogic Dev General] Marklogic REST-API Authentication (Login)

Hi everyone, 

I am new to Marklogic and I am currently developing an application from 
.net and connecting to marklogic via rest-api. I am able to put data and 
documents and do search through it.  However to complete my application, I 
need to authenticate in the marklogic security database for login purposes 
in my application. But it seems I cannot find the way to do it. I have 
tried using management rest-api but i think its not the way to do it. I 
have also tried invoking a rest-api extension but seems I dont go 
anywhere. Can anybody give me an example on how to do it. I'll appreciate 
it better if example is done through .net. Thank you in advance.

Rufel P. Aganan
Systems Analyst
DBP Data Center, Inc. 
848-0277 _______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to