$RequesterCloudUserID

$RequesterCloudUserID

gives the cloud user ID of the authenticated user requesting the current evaluation.

Details

  • If the current evaluation was not initiated by an authenticated user, $RequesterCloudUserID is None. This can occur, for example, if a desktop user has not authenticated against the cloud, or a cloud service not requiring authentication is being used.
  • $RequesterCloudUserID is always the cloud user ID for the requesting user in the cloud in which the evaluation is being done.

Examples

open allclose all

Basic Examples  (2)

Give the identify of the authenticated user requesting the evaluation:

Publish an API that gives the identity of the requester:

Connect as a different user:

Request the API while connected as a different user:

Disconnect from the cloud:

Request the API while not connected to the cloud:

Neat Examples  (1)

Log the details of each access to an API, including the identity of the caller:

Wolfram Research (2021), $RequesterCloudUserID, Wolfram Language function, https://reference.wolfram.com/language/ref/$RequesterCloudUserID.html.

Text

Wolfram Research (2021), $RequesterCloudUserID, Wolfram Language function, https://reference.wolfram.com/language/ref/$RequesterCloudUserID.html.

CMS

Wolfram Language. 2021. "$RequesterCloudUserID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$RequesterCloudUserID.html.

APA

Wolfram Language. (2021). $RequesterCloudUserID. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$RequesterCloudUserID.html

BibTeX

@misc{reference.wolfram_2024_$requesterclouduserid, author="Wolfram Research", title="{$RequesterCloudUserID}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/$RequesterCloudUserID.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$requesterclouduserid, organization={Wolfram Research}, title={$RequesterCloudUserID}, year={2021}, url={https://reference.wolfram.com/language/ref/$RequesterCloudUserID.html}, note=[Accessed: 21-November-2024 ]}