DBTEAMMembersSetProfileArg

@interface DBTEAMMembersSetProfileArg : NSObject <DBSerializable, NSCopying>

The MembersSetProfileArg struct.

Exactly one of team_member_id, email, or external_id must be provided to identify the user account. At least one of new_email, new_external_id, new_given_name, and/or new_surname must be provided.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • Identity of user whose profile will be set.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DBTEAMUserSelectorArg *_Nonnull user;

    Swift

    var user: DBTEAMUserSelectorArg { get }
  • New email for member.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *dNewEmail;

    Swift

    var dNewEmail: String? { get }
  • New external ID for member.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *dNewExternalId;

    Swift

    var dNewExternalId: String? { get }
  • New given name for member.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *dNewGivenName;

    Swift

    var dNewGivenName: String? { get }
  • New surname for member.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *dNewSurname;

    Swift

    var dNewSurname: String? { get }
  • New persistent ID. This field only available to teams using persistent ID SAML configuration.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *dNewPersistentId;

    Swift

    var dNewPersistentId: String? { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUser:(nonnull DBTEAMUserSelectorArg *)user
                               dNewEmail:(nullable NSString *)dNewEmail
                          dNewExternalId:(nullable NSString *)dNewExternalId
                           dNewGivenName:(nullable NSString *)dNewGivenName
                             dNewSurname:(nullable NSString *)dNewSurname
                        dNewPersistentId:(nullable NSString *)dNewPersistentId;

    Swift

    init(user: DBTEAMUserSelectorArg, dNewEmail: String?, dNewExternalId: String?, dNewGivenName: String?, dNewSurname: String?, dNewPersistentId: String?)

    Parameters

    user

    Identity of user whose profile will be set.

    dNewEmail

    New email for member.

    dNewExternalId

    New external ID for member.

    dNewGivenName

    New given name for member.

    dNewSurname

    New surname for member.

    dNewPersistentId

    New persistent ID. This field only available to teams using persistent ID SAML configuration.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUser:(nonnull DBTEAMUserSelectorArg *)user;

    Swift

    init(user: DBTEAMUserSelectorArg)

    Parameters

    user

    Identity of user whose profile will be set.

    Return Value

    An initialized instance.