UserCache¶
- class pyatlan.cache.user_cache.UserCache(client: AtlanClient)[source]¶
Lazily-loaded cache for translating Atlan-internal users into their various IDs.
- get_id_for_email(email: str) str | None [source]¶
Translate the provided email to its GUID.
- Parameters:
email – email address of the user
- Returns:
unique identifier (GUID) of the user
- get_id_for_name(name: str) str | None [source]¶
Translate the provided human-readable username to its GUID.
- Parameters:
name – human-readable name of the user
- Returns:
unique identifier (GUID) of the user