Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 984 Bytes

Get-CIPPUserPhoto.md

File metadata and controls

22 lines (17 loc) · 984 Bytes

Get-CIPPUserPhoto

SYNOPSIS

Retrieves the photo of a user from the CIPP API.

DESCRIPTION

The Get-CIPPUserPhoto function is used to retrieve the photo of a user from the CIPP API. It sends a request to the API endpoint "/api/listuserphoto" with the specified customer tenant ID and user ID.

PARAMETERS

-CustomerTenantID

Foo Foo
The customer tenant ID associated with the user.

-UserID

Foo Foo
The ID of the user whose photo needs to be retrieved.

EXAMPLE 1

PS > Get-CIPPUserPhoto -CustomerTenantID "281ceb6e-3d12-4a7f-b571-3c4f35ad85bc" -UserID "user@domain.com"

This example retrieves the photo of the user with the ID "user@domain.com" from the customer tenant with the ID "281ceb6e-3d12-4a7f-b571-3c4f35ad85bc".