Function achievement::access::caller

source ·
pub fn caller() -> Principal
Expand description

Retrieves the caller’s principal ID.

This function returns the principal ID of the caller.

§Returns

  • Principal - The principal ID of the caller.