Users.getContributionData (Method)

Returns zero or more structures, each containing information about a user's content changes, assignments, ownerships, and other similar information for a site.

Returns:

User_GetContributionData_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
ContributionCount NonNegativeInteger The number of items.
Name PlainText_NonNull The data's description.
Type UserDataContributionType The data's type.

Arguments:

Name Type Required Description
userID UserID Required A user's ID.
siteIDList SiteIDList_NEG1 Optional. Defaults to '-1'. A comma-delimited list of site IDs or -1, indicating all sites.
type UserDataContributionTypeFilter Optional. Defaults to 'All'. The type of the contribution data being returned; for example, 'All', 'AssignmentOwnership', 'ContentSubmissionApproval', and so on.
returnOneRecordPerType Boolean Optional. Defaults to '0'. Boolean flag which when set to true indicates that CommonSpot returns one record for each type. False means that CommonSpot returns more than one record.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None