SystemUI.ShowProfileCardAsync Method

Shows the profile card for the specified user.

Syntax

public:
static IAsyncAction^ ShowProfileCardAsync(
         IUser^ requestingUser,
         String^ targetXuid
)  

Parameters

requestingUser
Type: IUser 

The user making the request.

targetXuid
Type: String 

 The XUID of the user whose profile card is being displayed.

Return value

Type: IAsyncAction 

Returns an IAsyncAction object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncAction.Completed property.

Remarks

The following actions are available to users when the profile card is displayed:

Follow/Unfollow Starts or stops following this user.
Send Message Starts composing a message to the displayed user.
Mute in Chat/Unmute Mutes or unmutes all voice communication with the user.
Report Reports this user for doing something offensive.
Block/Unblock Blocks or unblocks matchmaking with this person, and blocks or unblocks all forms of communication (the equivalent of setting all privacy settings to the most restrictive for this person).
Invite to Party Invites the user to a party you’re already in. If you aren’t in a party, this will start one.
Open Profile Displays the user’s full profile.
Close Closes the profile card.

Requirements

Namespace: Windows.Xbox.UI

Metadata: windows.winmd

See also

Reference

SystemUI Class

SystemUI Members

Windows.Xbox.UI Namespace