SFIdentityData Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSSecureCoding |
| Declared in | SFIdentityData.h |
Other Methods
dictRepresentation
The NSDictionary representation of this identity data.
@property (nonnull, strong, nonatomic, readonly) NSDictionary *dictRepresentationDeclared In
SFIdentityData.h
idUrl
The ID URL.
@property (nonnull, strong, nonatomic, readonly) NSURL *idUrlDeclared In
SFIdentityData.h
assertedUser
Whether or not this is the asserted user for this session.
@property (readonly) BOOL assertedUserDeclared In
SFIdentityData.h
userId
The User ID of the associated user.
@property (nonnull, strong, nonatomic, readonly) NSString *userIdDeclared In
SFIdentityData.h
orgId
The Organization ID of the associated user.
@property (nonnull, strong, nonatomic, readonly) NSString *orgIdDeclared In
SFIdentityData.h
username
The username of the associated user.
@property (nonnull, strong, nonatomic, readonly) NSString *usernameDeclared In
SFIdentityData.h
nickname
The nickname of the associated user.
@property (nullable, strong, nonatomic, readonly) NSString *nicknameDeclared In
SFIdentityData.h
displayName
The display name of the associated user.
@property (nullable, strong, nonatomic, readonly) NSString *displayNameDeclared In
SFIdentityData.h
email
The email address of the associated user.
@property (nonnull, strong, nonatomic, readonly) NSString *emailDeclared In
SFIdentityData.h
firstName
The first name of the user.
@property (nullable, strong, nonatomic, readonly) NSString *firstNameDeclared In
SFIdentityData.h
lastName
The last name of the user.
@property (nonnull, strong, nonatomic, readonly) NSString *lastNameDeclared In
SFIdentityData.h
pictureUrl
The URL to retrieve the user’s picture.
@property (nullable, strong, nonatomic, readonly) NSURL *pictureUrlDeclared In
SFIdentityData.h
thumbnailUrl
The URL to retrieve a thumbnail picture for the user.
@property (nullable, strong, nonatomic, readonly) NSURL *thumbnailUrlDeclared In
SFIdentityData.h
enterpriseSoapUrl
The enterprise SOAP API URL string for this user.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *enterpriseSoapUrlDeclared In
SFIdentityData.h
metadataSoapUrl
The metadata SOAP API URL string for this user.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *metadataSoapUrlDeclared In
SFIdentityData.h
partnerSoapUrl
The partner SOAP API URL string for this user.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *partnerSoapUrlDeclared In
SFIdentityData.h
restUrl
The REST API URL string entry point for this user.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *restUrlDeclared In
SFIdentityData.h
restSObjectsUrl
The REST endpoint string for SObjects.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *restSObjectsUrlDeclared In
SFIdentityData.h
restSearchUrl
The REST endpoint string for search.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *restSearchUrlDeclared In
SFIdentityData.h
restQueryUrl
The REST endpoint string for queries.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *restQueryUrlDeclared In
SFIdentityData.h
restRecentUrl
The REST endpoint string for recent activity.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *restRecentUrlDeclared In
SFIdentityData.h
profileUrl
The user profile URL.
@property (nullable, strong, nonatomic, readonly) NSURL *profileUrlDeclared In
SFIdentityData.h
chatterFeedsUrl
The URL string for Chatter feeds.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *chatterFeedsUrlDeclared In
SFIdentityData.h
chatterGroupsUrl
The URL string for Chatter groups.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *chatterGroupsUrlDeclared In
SFIdentityData.h
chatterUsersUrl
The URL string for Chatter users.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *chatterUsersUrlDeclared In
SFIdentityData.h
chatterFeedItemsUrl
The URL string for Chatter feed items.
Note: API URLs require replacement of the version token with a valid API version string.
@property (nullable, strong, nonatomic, readonly) NSString *chatterFeedItemsUrlDeclared In
SFIdentityData.h
isActive
Whether or not this user is active.
@property (readonly) BOOL isActiveDeclared In
SFIdentityData.h
userType
The user type.
@property (nonnull, strong, nonatomic, readonly) NSString *userTypeDeclared In
SFIdentityData.h
language
The user’s configured language.
@property (nonnull, strong, nonatomic, readonly) NSString *languageDeclared In
SFIdentityData.h
locale
The user’s configured locale.
@property (nonnull, strong, nonatomic, readonly) NSString *localeDeclared In
SFIdentityData.h
utcOffset
The UTC offset for this user.
@property (readonly) int utcOffsetDeclared In
SFIdentityData.h
mobilePoliciesConfigured
Whether or not any additional mobile security policies have been configured for this application.
@property (readonly) BOOL mobilePoliciesConfiguredDeclared In
SFIdentityData.h
mobileAppPinLength
The length of the PIN code, if it’s required. Defaults to 0 if not set, but querying mobilePoliciesConfigured is recommended to validate that policies are set.
@property (readonly) int mobileAppPinLengthDeclared In
SFIdentityData.h
mobileAppScreenLockTimeout
The length of time in minutes before the app will be locked, if it’s required. Defaults to -1 if not set, but querying mobilePoliciesConfigured is recommended to validate that policies are set.
@property (readonly) int mobileAppScreenLockTimeoutDeclared In
SFIdentityData.h
customAttributes
An optional dictionary of custom attributes defined on the Connected App.
@property (nullable, strong, nonatomic, readonly) NSDictionary *customAttributesDeclared In
SFIdentityData.h
customPermissions
An optional dictionary of custom permissions defined on the Connected App.
@property (nullable, strong, nonatomic, readonly) NSDictionary *customPermissionsDeclared In
SFIdentityData.h
lastModifiedDate
The date this record was last modified.
@property (nullable, strong, nonatomic, readonly) NSDate *lastModifiedDateDeclared In
SFIdentityData.h
nativeLogin
Wheher or not the user was added via Native Login. The profile of this user restricts them from certain flows, such as IDP.
@property (readonly) BOOL nativeLoginDeclared In
SFIdentityData.h
– initWithJsonDict:
Designated initializer for creating an instance of the SFIdentityData object.
- (nonnull instancetype)initWithJsonDict:(nonnull NSDictionary *)jsonDictParameters
jsonDict |
The JSON dictionary containing the user data. |
|---|
Declared In
SFIdentityData.h
Extension Methods
+ dateFromRfc822String:
Creates an NSDate object from an RFC 822-formatted date string.
+ (NSDate *)dateFromRfc822String:(NSString *)dateStringParameters
dateString |
The date string to parse into an NSDate. |
|---|
Return Value
The NSDate representation of the date string.
Declared In
SFIdentityData+Internal.h
– parentExistsOrNilForUrl:childKey:
Returns the URL configured in the sub-object of the parent, or nil if the parent object does not exist.
- (NSURL *)parentExistsOrNilForUrl:(NSString *)parentKey childKey:(NSString *)childKeyParameters
parentKey |
The data key associated with the parent object. |
|---|---|
childKey |
The data key associated with the child object where the URL is configured. |
Return Value
The NSURL representation configured in the child object, or nil if the parent does not exist.
Declared In
SFIdentityData+Internal.h
– parentExistsOrNilForString:childKey:
Returns the NSString configured in the sub-object of the parent, or nil if the parent object does not exist.
- (NSString *)parentExistsOrNilForString:(NSString *)parentKey childKey:(NSString *)childKeyParameters
parentKey |
The data key associated with the parent object. |
|---|---|
childKey |
The data key associated with the child object where the string is configured. |
Return Value
The NSString representation configured in the child object, or nil if the parent does not exist.
Declared In
SFIdentityData+Internal.h