Assume user profile

cancel
Showing results for 
Search instead for 
Did you mean: 
maiconramones
Active Member II

Assume user profile

Hello,


My Alfresco use ldap and Ntlm authentication.


The documents will be send using Rest API, but the question is how to setthe createBy, when the document is uploaded?


Or other think is how to assume a user profile, for example, login as usernameXYZ.


The problem is the password for ldap connection, because I only have the username to logging in the Alfresco.

2 Replies
dbiggins
Active Member II

Re: Assume user profile

When you are making the REST call, are you specifying the credentials of the 'created by' person?  Or are you making a call with some generic account?  If you are authenticating with a named user, they should show up as the creator.

maiconramones
Active Member II

Re: Assume user profile

Hy Dan,

I tested with the admin account, yes, it's a generic account. I want logging with the user admin and set the 'created by' to another user like jhon_test. I read about the read-only property.

Are there some alternatives?