Is that correct sequence diagram

Hi all

First of all thanx for clarifying my concepts.
I have attached one sample diagram ,In this case Librarian ask from User(Actor) to give his name.Can we make it in the way i have made.I mean can we ask from Actor in the form of method().

Plz reply its urgent .I am stuck coz of this problem/
Sample.BMP

plz give me reply on the mentioned SD i am stuck in my work

thanx

Hi user,

Thanks for your post. Sequence Diagram is used for modeling interaction between different objects, for your case, if user is an instance (:User), why not send a message with parameters (Username, major) from user to librarian instead of sending messages?

Best regards,
Lilian Wong