Club Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class Club
type Club = class
interface __IClubPublicNonVirtuals
Public NotInheritable Class Club
- Inheritance
-
Club
- Attributes
-
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute
Action |
Settings dictating what actions users can take within the club depending on their role. |
Banner |
Club's background image url |
Created |
When the club was created. |
Followers |
Number of followers of the club. |
Founder |
Club founder's Xuid. |
Glyph |
Club's display image url |
Id |
ClubId |
Is |
Whether or not the club is currently suspended. |
Members |
Number of club members. |
Moderators |
Number of club moderators. |
Owner |
Club owner's Xuid |
Presence |
Count of members present in the club. |
Presence |
Count of members present in the club today. |
Profile |
Configurable club attributes |
Recommended |
Number of users recommended for the club. |
Report |
Number of reports for the club. |
Reporte |
Number of reported items for the club. |
Requested |
Number of users requesting to join the club. |
Short |
Club short name |
Suspended |
When the club remains suspended until. |
Title |
Title family Id |
Title |
Localized Title Family Name |
Type |
Type (visibility) of club |
Viewer |
Roles the viewer has in the club |
Add |
Promotes the specified user to moderator of the club. The specified user must already be a member of the club. Can only be called by the club owner. |
Add |
Attempts to join a club. If the user has not yet been invited, this call will send a request to join the club which will need to be approved by a moderator before the caller becomes a member. |
Add |
Depending on the role of the caller, this function will have a different effect:
|
Ban |
Bans the specified user from the club. Can only be called by club moderators or owner. |
Follow |
Adds the calling user as a follower of the specified club. |
Get |
Gets details about (at most) the last 1000 members active within a club. |
Get |
Gets information about club member presence. |
Get |
Returns records of the callers roles within the club. |
Get |
Returns records for a given users roles within the club. |
Get |
Returns the roles a given user has within the club. |
Get |
Retrieves a roster of club members that have a special relationship with the club (something other than just member). |
Remove |
Removes the specified user as a moderator of the club. They will retain there other roles within the club. Can only be called by the club owner. |
Remove |
Deletes all relationships the calling user has with a club including: membership, outstanding invitations, recommendations to join, and following. |
Remove |
Removes all relationships between the target user and the club including: membership, outstanding invitations/recommendations, and following. Can only be called by club moderator (or on yourself, which has the same effect as calling RemoveUserFromClubAsync()) |
Rename |
Renames the club. Can only be called by the club owner. Some restrictions apply when renaming and public or private club; hidden clubs can be renamed freely. Note that the club object this is called from will not be updated with the new name even if this method is successful, but if the club object is retrieved again the new name will be reflected. |
Set |
Sets the user's presence within the club. This keeps track of which club page, if any, the user is currently viewing. |
Unban |
Unbans the specified user from the club. Can only be called by club moderators or owner. Note: A similar affect can also be achieved by a moderator calling add_user_to_club. In that case however, banned users will immediately receive an invitation to the club in addition to being unbanned. |
Unfollow |
Removes the calling user as a follower of the specified club. |
Produkt | Versionen |
---|---|
Xbox Live WinRT SDK | 2017.11.20171204.01 |