user id and password for

Showing results for 
Search instead for 
Did you mean: 
Member II

user id and password for

HI Everyone,

i am working as a .net developer and I am new to alfresco.

We have a requirement to connect alfresco repository and read documents content and system properties along with aspect and custom type(model ).

to explore and to know about the alfresco , i have installed local alfresco environment and i am able to login alfresco share and see the folders and repository.

But using C# code i am not able to log in to alfresco.

i am using alfresco authentication service.

its asking me user and password and i trying to give the same user and password which is i am giving while login to alfresco share.

but the same is not working.

Can someone pls help as i have to write entire and login is just a entry point.


3 Replies

Re: user id and password for


you should read this article:


Senior Member

Re: user id and password for


Using C# you can find some examples on Internet about OpenCmis.



Member II

Re: user id and password for

Thanks for your reply...

but where these services deploy.

I have written below code in C# but its not working. Its asking me user id and password and i am giving the same password which i am using to login "" my local alfresco env.

what am i missing here.pls help.

// Initializing the URL of webservices used in this adaptor

mAuthenticationService.Url = "";

mAccessControlService.Url = "";

// ends here

// making the connection with Alfresco repository

AuthenticationResult lAuthenticationResult = mAuthenticationService.startSession(mUserId, lPassword);

mTicket = lAuthenticationResult.ticket;

// Adding Security Header


// ends here

if (mTicket != null)


//Checking if the connection is made than true is returned

lconnect = true;