DBTEAMMemberAddV2Arg
Objective-C
@interface DBTEAMMemberAddV2Arg
: DBTEAMMemberAddArgBase <DBSerializable, NSCopying>
Swift
class DBTEAMMemberAddV2Arg : DBTEAMMemberAddArgBase, DBSerializable, NSCopying
The MemberAddV2Arg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
(no description).
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *roleIds;
Swift
var roleIds: [String]? { get }
-
-initWithMemberEmail:
memberGivenName: memberSurname: memberExternalId: memberPersistentId: sendWelcomeEmail: isDirectoryRestricted: roleIds: Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithMemberEmail:(nonnull NSString *)memberEmail memberGivenName:(nullable NSString *)memberGivenName memberSurname:(nullable NSString *)memberSurname memberExternalId:(nullable NSString *)memberExternalId memberPersistentId:(nullable NSString *)memberPersistentId sendWelcomeEmail:(nullable NSNumber *)sendWelcomeEmail isDirectoryRestricted:(nullable NSNumber *)isDirectoryRestricted roleIds:(nullable NSArray<NSString *> *)roleIds;
Swift
init(memberEmail: String, memberGivenName: String?, memberSurname: String?, memberExternalId: String?, memberPersistentId: String?, sendWelcomeEmail: NSNumber?, isDirectoryRestricted: NSNumber?, roleIds: [String]?)
Parameters
memberEmail
(no description).
memberGivenName
Member’s first name.
memberSurname
Member’s last name.
memberExternalId
External ID for member.
memberPersistentId
Persistent ID for member. This field is only available to teams using persistent ID SAML configuration.
sendWelcomeEmail
Whether to send a welcome email to the member. If send_welcome_email is false, no email invitation will be sent to the user. This may be useful for apps using single sign-on (SSO) flows for onboarding that want to handle announcements themselves.
isDirectoryRestricted
Whether a user is directory restricted.
roleIds
(no description).
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithMemberEmail:(nonnull NSString *)memberEmail;
Swift
init(memberEmail: String)
Parameters
memberEmail
(no description).
Return Value
An initialized instance.