Is it possible to temporarily apply admin or last logged in user rights in order to close forms?


Author
Message
Cory Cookson
Cory Cookson
StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)
Group: Forum Members
Posts: 30, Visits: 416
Scenario:

1) User 1 logs in with admin rights and opens up form1

2) Lock Screen happens due to timeout or pushing F11

3) User 2 logs in with lower rights than User 1

4) Here I want to close form1 so that User 2 has a fresh start with no open screens.

Question:

Is there a way to temporarily provide admin or the last users rights so that open forms can be closed programatically and then return to using User 2's rights?

Cory Cookson

Software Developer

Occupational Health Research

Reply
Cory Cookson
Cory Cookson
StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)
Group: Forum Members
Posts: 30, Visits: 416
Thank you for the replies!  I really appreciate the support of the forum.

I am making sure that the first user has saved or reloaded all data that they are working on before they are logged out.

I've tried recalling LockSession in the afterSessionLock event and it just brings up the login form again.

I want to close the open forms without the second user even knowing they were open. 

There are however times that another person will login with equivelant rights and they should be able to see all of the screens that were left open by the first user.

As always any help is appreciated Smile

Cory Cookson

Software Developer

Occupational Health Research

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Cory Cookson - 17 Years Ago
Ivan George Borges - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Cory Cookson - 17 Years Ago
Cory Cookson - 17 Years Ago
Greg McGuffey - 17 Years Ago
Cory Cookson - 17 Years Ago
Ivan George Borges - 17 Years Ago
Cory Cookson - 17 Years Ago
Ivan George Borges - 17 Years Ago
Cory Cookson - 17 Years Ago
Cory Cookson - 17 Years Ago
     bump
Cory Cookson - 17 Years Ago
Ivan George Borges - 17 Years Ago
Dustin Taylor - 17 Years Ago
Cory Cookson - 17 Years Ago
Cory Cookson - 17 Years Ago
             Great, Cory! :cool:
Ivan George Borges - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search