C# Class PodioAPI.Services.UserService

Afficher le fichier Open project: podio/podio-dotnet

Méthodes publiques

Méthode Description
DeleteUserProperty ( string name ) : Task

Deletes the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/delete-user-property-29800

GetNotificationSetting ( string clientType, string notificationType ) : Task

Get's the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/get-notification-setting-3649859

GetNotificationSettings ( string clientType ) : bool>>.Task

Get's the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/get-notification-setting-3649859

GetProfileField ( string key ) : Task>

Returns the field of the profile for the given key from the active user. For a list of valid keys and their possible values, see the contact area.

Podio API Reference: https://developers.podio.com/doc/users/get-profile-field-22380

GetUser ( ) : Task

Gets the active user.

Podio API Reference: https://developers.podio.com/doc/users/get-user-22378

GetUserProperty ( string name ) : Task

Returns the value of the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/get-user-property-29798

GetUserStatus ( ) : Task

Returns the current status for the user. This includes the user data, profile data and notification data.

Podio API Reference: https://developers.podio.com/doc/users/get-user-status-22480

SetUserProperties ( object>.Dictionary properties ) : Task

Sets the values of one or more properties for the active user. The properties are specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/set-user-properties-9052829

SetUserProperty ( string name, dynamic value ) : Task

Sets the value of the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/set-user-property-29799

UpdateNotificationSetting ( string clientType, string notificationType, bool value ) : Task

Updates the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/update-notification-setting-3649918

UpdateNotificationSettings ( string clientType, bool>.Dictionary notificationTypes ) : Task

Updates the setting for the given client type

Podio API Reference: https://developers.podio.com/doc/users/update-notification-settings-3649927

UpdateProfile ( Contact updatedProfile ) : Task

Updates the fields of an existing profile. Fields not specified will not be updated. To delete a field set the value of the field to null.

Podio API Reference: https://developers.podio.com/doc/users/update-profile-22402

UpdateProfileField ( string key, string value ) : Task

Updates the specific field on the user.

Podio API Reference: https://developers.podio.com/doc/users/update-profile-field-22500

UserService ( Podio currentInstance ) : System.Collections.Generic

Method Details

DeleteUserProperty() public méthode

Deletes the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/delete-user-property-29800

public DeleteUserProperty ( string name ) : Task
name string
Résultat Task

GetNotificationSetting() public méthode

Get's the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/get-notification-setting-3649859

public GetNotificationSetting ( string clientType, string notificationType ) : Task
clientType string Client type: "email" and "mobile".
notificationType string /// Notification type: "digest", "bulletin", "reference", "message", "space", /// "subscription", "user", "reminder", "push_notification", "push_notification_sound" or "push_notification_browser". ///
Résultat Task

GetNotificationSettings() public méthode

Get's the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/get-notification-setting-3649859

public GetNotificationSettings ( string clientType ) : bool>>.Task
clientType string Client type: "email" and "mobile".
Résultat bool>>.Task

GetProfileField() public méthode

Returns the field of the profile for the given key from the active user. For a list of valid keys and their possible values, see the contact area.

Podio API Reference: https://developers.podio.com/doc/users/get-profile-field-22380

public GetProfileField ( string key ) : Task>
key string
Résultat Task>

GetUser() public méthode

Gets the active user.

Podio API Reference: https://developers.podio.com/doc/users/get-user-22378

public GetUser ( ) : Task
Résultat Task

GetUserProperty() public méthode

Returns the value of the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/get-user-property-29798

public GetUserProperty ( string name ) : Task
name string
Résultat Task

GetUserStatus() public méthode

Returns the current status for the user. This includes the user data, profile data and notification data.

Podio API Reference: https://developers.podio.com/doc/users/get-user-status-22480

public GetUserStatus ( ) : Task
Résultat Task

SetUserProperties() public méthode

Sets the values of one or more properties for the active user. The properties are specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/set-user-properties-9052829

public SetUserProperties ( object>.Dictionary properties ) : Task
properties object>.Dictionary The JSON object value of the property
Résultat Task

SetUserProperty() public méthode

Sets the value of the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/set-user-property-29799

public SetUserProperty ( string name, dynamic value ) : Task
name string
value dynamic
Résultat Task

UpdateNotificationSetting() public méthode

Updates the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/update-notification-setting-3649918

public UpdateNotificationSetting ( string clientType, string notificationType, bool value ) : Task
clientType string Client type: "email" and "mobile".
notificationType string /// Notification type: "digest", "bulletin", "reference", "message", "space", /// "subscription", "user", "reminder", "push_notification", "push_notification_sound" or "push_notification_browser". ///
value bool
Résultat Task

UpdateNotificationSettings() public méthode

Updates the setting for the given client type

Podio API Reference: https://developers.podio.com/doc/users/update-notification-settings-3649927

public UpdateNotificationSettings ( string clientType, bool>.Dictionary notificationTypes ) : Task
clientType string Client type: "email" and "mobile".
notificationTypes bool>.Dictionary /// Notification type: "digest", "bulletin", "reference", "message", "space", /// "subscription", "user", "reminder", "push_notification", "push_notification_sound" or "push_notification_browser". ///
Résultat Task

UpdateProfile() public méthode

Updates the fields of an existing profile. Fields not specified will not be updated. To delete a field set the value of the field to null.

Podio API Reference: https://developers.podio.com/doc/users/update-profile-22402

public UpdateProfile ( Contact updatedProfile ) : Task
updatedProfile PodioAPI.Models.Contact The value or list of values for the given field. For a list of fields see the contact area
Résultat Task

UpdateProfileField() public méthode

Updates the specific field on the user.

Podio API Reference: https://developers.podio.com/doc/users/update-profile-field-22500

public UpdateProfileField ( string key, string value ) : Task
key string
value string The new value for the profile field.
Résultat Task

UserService() public méthode

public UserService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
Résultat System.Collections.Generic