# Table of contents:

# Introduction

GetProfile is one of the SOAP actions the Schematized Storage Service provides.

Get the attributes of the profile associated with the provided resource handle.

Responding to a request without a <ExpressionProfile> will cause the client to request a CreateProfile action.

Responding with a new profile resource ID can cause the client to request a ShareItem action.

# Client/Request

The template used in this action is described on the Schematized Storage Service main page.

# GetProfile

This element has only one attribute:

# profileHandle

A resource handle.

# profileAttributes

This element has three children:

# ExpressionProfileAttributes

This element has nine optional children:

# Server/Response

The template used in this action is described on the Schematized Storage Service main page.

# GetProfileResponse

This element has only one attribute:

# GetProfileResult

This element has three children:

# ExpressionProfile

This element has ten optional children:

# Photo

This element has three optional children:

# DocumentStreams

This element contains one or more <DocumentStream> elements.

# DocumentStream

This element has four children:

NOTE: While there are known to be more children to <DocumentStream>, none of them are used by most clients.

# Examples

# Schema version w10

# Basic Request

NOTE: The response is shown without a <Photo> relationship.

# Client/Request

POST /storageservice/SchematizedStore.asmx HTTP/1.1
SOAPAction: http://www.msn.com/webservices/storage/w10/GetProfile
Cache-Control: no-cache
Content-Type: text/xml; charset=utf-8
Content-Length: 1554

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>
	<soap:Header>
		<StorageApplicationHeader xmlns="http://www.msn.com/webservices/storage/w10">
			<ApplicationID>Messenger Client 8.0</ApplicationID>
			<Scenario>Timer</Scenario>
		</StorageApplicationHeader>
		<StorageUserHeader xmlns="http://www.msn.com/webservices/storage/w10">
			<Puid>0</Puid>
			<TicketToken>t=ticket&amp;p=profile</TicketToken>
		</StorageUserHeader>
	</soap:Header>
	<soap:Body>
		<GetProfile xmlns="http://www.msn.com/webservices/storage/w10">
			<profileHandle>
				<Alias>
					<Name>4294967298</Name>
					<NameSpace>MyCidStuff</NameSpace>
				</Alias>
				<RelationshipName>MyProfile</RelationshipName>
			</profileHandle>
			<profileAttributes>
				<ResourceID>true</ResourceID>
				<DateModified>true</DateModified>
				<ExpressionProfileAttributes>
					<ResourceID>true</ResourceID>
					<DateModified>true</DateModified>
					<DisplayName>true</DisplayName>
					<DisplayNameLastModified>true</DisplayNameLastModified>
					<PersonalStatus>true</PersonalStatus>
					<PersonalStatusLastModified>true</PersonalStatusLastModified>
					<StaticUserTilePublicURL>true</StaticUserTilePublicURL>
					<Photo>true</Photo>
					<Flags>true</Flags>
				</ExpressionProfileAttributes>
			</profileAttributes>
		</GetProfile>
	</soap:Body>
</soap:Envelope>

# Server/Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 1469

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
	<soap:Header>
		<AffinityCacheHeader xmlns="http://www.msn.com/webservices/storage/w10">
			<CacheKey>MjAyNi0wMi0wOFQxMDoxODozNi43MDVa</CacheKey>
		</AffinityCacheHeader>
		<StorageUserHeader xmlns="http://www.msn.com/webservices/storage/w10">
			<Puid>0</Puid>
			<Cid>4294967298</Cid>
			<TicketToken>t=ticket&amp;p=profile</TicketToken>
			<IsAdmin>false</IsAdmin>
		</StorageUserHeader>
	</soap:Header>
	<soap:Body>
		<GetProfileResponse xmlns="http://www.msn.com/webservices/storage/w10">
			<GetProfileResult>
				<ResourceID>cid_4294967298!profile</ResourceID>
				<DateModified>2026-02-11T19:03:11.539Z</DateModified>
				<ExpressionProfile>
					<ResourceID>cid_4294967298!expressionprofile</ResourceID>
					<DateModified>2026-02-11T19:03:11.539Z</DateModified>
					<DisplayName>example user</DisplayName>
					<DisplayNameLastModified>2026-02-11T19:03:11.539Z</DisplayNameLastModified>
					<PersonalStatus></PersonalStatus>
					<PersonalStatusLastModified>2026-02-11T19:03:11.539Z</PersonalStatusLastModified>
					<StaticUserTilePublicURL>http://example.com/usertiles/cid_4294967298/static</StaticUserTilePublicURL>
					<Flags>0</Flags>
				</ExpressionProfile>
			</GetProfileResult>
		</GetProfileResponse>
	</soap:Body>
</soap:Envelope>

# With a Photo

# Client/Request

POST /storageservice/SchematizedStore.asmx HTTP/1.1
SOAPAction: http://www.msn.com/webservices/storage/w10/GetProfile
Cache-Control: no-cache
Content-Type: text/xml; charset=utf-8
Content-Length: 1554

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>
	<soap:Header>
		<StorageApplicationHeader xmlns="http://www.msn.com/webservices/storage/w10">
			<ApplicationID>Messenger Client 9.0</ApplicationID>
			<Scenario>Timer</Scenario>
		</StorageApplicationHeader>
		<StorageUserHeader xmlns="http://www.msn.com/webservices/storage/w10">
			<Puid>0</Puid>
			<TicketToken>t=ticket&amp;p=profile</TicketToken>
		</StorageUserHeader>
	</soap:Header>
	<soap:Body>
		<GetProfile xmlns="http://www.msn.com/webservices/storage/w10">
			<profileHandle>
				<Alias>
					<Name>4294967298</Name>
					<NameSpace>MyCidStuff</NameSpace>
				</Alias>
				<RelationshipName>MyProfile</RelationshipName>
			</profileHandle>
			<profileAttributes>
				<ResourceID>true</ResourceID>
				<DateModified>true</DateModified>
				<ExpressionProfileAttributes>
					<ResourceID>true</ResourceID>
					<DateModified>true</DateModified>
					<DisplayName>true</DisplayName>
					<DisplayNameLastModified>true</DisplayNameLastModified>
					<PersonalStatus>true</PersonalStatus>
					<PersonalStatusLastModified>true</PersonalStatusLastModified>
					<StaticUserTilePublicURL>true</StaticUserTilePublicURL>
					<Photo>true</Photo>
					<Flags>true</Flags>
				</ExpressionProfileAttributes>
			</profileAttributes>
		</GetProfile>
	</soap:Body>
</soap:Envelope>

# Server/Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 1999

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
	<soap:Header>
		<AffinityCacheHeader xmlns="http://www.msn.com/webservices/storage/w10">
			<CacheKey>MjAyNi0wMi0wOFQxMDoxODozNi43MDVa</CacheKey>
		</AffinityCacheHeader>
		<StorageUserHeader xmlns="http://www.msn.com/webservices/storage/w10">
			<Puid>0</Puid>
			<Cid>4294967298</Cid>
			<TicketToken>t=ticket&amp;p=profile</TicketToken>
			<IsAdmin>false</IsAdmin>
		</StorageUserHeader>
	</soap:Header>
	<soap:Body>
		<GetProfileResponse xmlns="http://www.msn.com/webservices/storage/w10">
			<GetProfileResult>
				<ResourceID>cid_4294967298!profile</ResourceID>
				<DateModified>2026-02-11T19:03:11.539Z</DateModified>
				<ExpressionProfile>
					<ResourceID>cid_4294967298!expressionprofile</ResourceID>
					<DateModified>2026-02-11T19:03:11.539Z</DateModified>
					<DisplayName>example user</DisplayName>
					<DisplayNameLastModified>2026-02-11T19:03:11.539Z</DisplayNameLastModified>
					<PersonalStatus></PersonalStatus>
					<PersonalStatusLastModified>2026-02-11T19:03:11.539Z</PersonalStatusLastModified>
					<Photo>
						<ResourceID>cid_4294967298!documents!1</ResourceID>
						<DateModified>2026-02-11T19:03:11.539Z</DateModified>
						<DocumentStreams>
							<DocumentStream>
								<DocumentStreamName>UserTileStatic</DocumentStreamName>
								<MimeType>image/png</MimeType>
								<DocumentStreamType>UserTileStatic</DocumentStreamType>
								<PreAuthURL>https://example.com/me/profile/photo/static</PreAuthURL>
							</DocumentStream>
						</DocumentStreams>
						<Name>Example Display Picture</Name>
					</Photo>
					<StaticUserTilePublicURL>http://example.com/usertiles/cid_4294967298/static</StaticUserTilePublicURL>
					<Flags>0</Flags>
				</ExpressionProfile>
			</GetProfileResult>
		</GetProfileResponse>
	</soap:Body>
</soap:Envelope>