Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRDPSRAPIAttendee::Invitation property

The invitation used to grant the attendee access to the conference.

This property is read-only.

Syntax


HRESULT get_Invitation(
  [out]  IRDPSRAPIInvitation **ppVal
);

Property value

An IRDPSRAPIInvitation interface pointer.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

An application can have multiple groups of attendees. For example, an application can define a "Moderators" group and a "Spectators" group. Attendees that belong to the "Moderators" group are granted interactive control, while attendees in the "Spectators" group are only granted access to view the session. The application achieves this implementation by creating two invitation objects, one for each group. When an attendee connects, the application can verify which group the attendee belongs to by checking the GroupName property of the invitation object used for authentication. If the group name is "Spectators," the application sets the ControlLevel property for the attendee to CTRL_LEVEL_VIEW. If the group name is "Moderators," it sets the ControlLevel property to CTRL_LEVEL_INTERACTIVE.

If this property is accessed on the viewer side, it returns a dummy invitation.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Rdpencomapi.h

IDL

Rdpencomapi.idl

Type library

Rdpencomapi.tlb

See also

IRDPSRAPIAttendee

 

 

Show:
© 2015 Microsoft