DBPAPERUserInfoWithPermissionLevel
Objective-C
@interface DBPAPERUserInfoWithPermissionLevel
    : NSObject <DBSerializable, NSCopying>
                Swift
class DBPAPERUserInfoWithPermissionLevel : NSObject, DBSerializable, NSCopying
                The UserInfoWithPermissionLevel struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
User shared on the Paper doc.
Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGUserInfo *_Nonnull user;Swift
var user: DBSHARINGUserInfo { get } - 
                  
                  
Permission level for the user.
Declaration
Objective-C
@property (nonatomic, readonly) DBPAPERPaperDocPermissionLevel *_Nonnull permissionLevel;Swift
var permissionLevel: DBPAPERPaperDocPermissionLevel { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithUser:(nonnull DBSHARINGUserInfo *)user permissionLevel:(nonnull DBPAPERPaperDocPermissionLevel *) permissionLevel;Swift
init(user: DBSHARINGUserInfo, permissionLevel: DBPAPERPaperDocPermissionLevel)Parameters
userUser shared on the Paper doc.
permissionLevelPermission level for the user.
Return Value
An initialized instance.
 
View on GitHub
        DBPAPERUserInfoWithPermissionLevel Class Reference