Hello folks,
could u guys lead me to how could i check if the user session(logged on domino - names.nsf) is active through .net app ?
and if it dont, how to log into domino through .net.
is possible to get the user roles too ? how?
i dont need a full solution, just some leading , reference, but a full solution wouldnt be bad too =P
thanks in advance,
fferrandini
Subject: Check if User session is active using .NET
If this is a client-side app, just instantiate the NotesSession. If the user is logged in (and has their security set to “Don’t prompt for password from other Notes applications”), the rest of your code can get to work right away. If not, they get a login prompt.
As for names, access levels and roles, look at UserName, UserNameList and UserGroupNames in the NotesSession class and the QueryAccesXXX methods of the NotesDatabase class.
Subject: RE: Check if User session is active using .NET
Hi Stan,
long time no see around here…
thanks for your response.
The problem is that the .net pages are opened through the notes app.
so the session is already created ( it must create an object or something) . i need to read this already created session.
imagine.
1)The user logs to notes app.
2)the user opens a .net page ( and let it opened)
3)the user goes to lunch and is back 1 hour later. session died.
4)the user use some functionality from .net page without the notes session
i need to check the user´s notessession before let him do something…
instantiating a notessession would do it?