Can I extract current user from within a custom plugin? #297
-
I added a plugin using slicer web cli task option and now I want to store work of each user by mapping it with it's unique ID or username, is there a way to extract such information? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
If you have the You'd do something like
|
Beta Was this translation helpful? Give feedback.
-
Yes got that however I want to know from where I can get this value
programmatically.
…On Thu, Oct 5, 2023 at 5:51 PM David Manthey ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#297 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBHZA53ECT7NS2TX5GEN3ULX52Q4HAVCNFSM6AAAAAA5SLPK6KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TCOJXGYYTO>
.
You are receiving this because you authored the thread.Message ID:
<DigitalSlideArchive/digital_slide_archive/repo-discussions/297/comments/7197617
@github.com>
--
Confidentiality Notice:
The information transmitted in this email is
intended only for the person(s) or entity to which it is addressed and may
contain proprietary, confidential and/or privileged material. If you have
received this email in error, please contact the sender by replying and
delete this email so that it is not recoverable.
If you are not the
intended recipient(s), any retention, review, disclosure, distribution,
copying, printing, dissemination, or other use of, or the taking of any
action in reliance upon, this information is strictly prohibited and
without liability on our part. This email has been checked for any viral
content, however we take no responsibility for the forwarding process of
this email and recommend that this message and any attachment(s) are
scanned by your system for any potential viral content.
|
Beta Was this translation helpful? Give feedback.
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.