Can I extract current user and file id from within a custom plugin? #10
Answered
by
lomshabhishek
lomshabhishek
asked this question in
Q&A
-
I added a plugin using slicer web cli task option and now I want to store work of each user by mapping file-id with it's unique user ID or username, is there a way to extract such information? |
Beta Was this translation helpful? Give feedback.
Answered by
lomshabhishek
Oct 13, 2023
Replies: 1 comment
-
Thanks @manthey - https://github.com/manthey In your plugin, you can include parameters like https://github.com/girder/slicer_cli_web/blob/458d616f2807b541b955a915cbb23e4575b8e8c3/example-girder-requests/girder_requests/girder_requests.xml#L19-L36, and they will get passed in when the job is invoked. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lomshabhishek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks @manthey - https://github.com/manthey
In your plugin, you can include parameters like https://github.com/girder/slicer_cli_web/blob/458d616f2807b541b955a915cbb23e4575b8e8c3/example-girder-requests/girder_requests/girder_requests.xml#L19-L36, and they will get passed in when the job is invoked.