Platforms to show: All Mac Windows Linux Cross-Platform

Back to ACAccountStoreMBS class.

ACAccountStoreMBS.accounts as ACAccountMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The accounts managed by this account store.

Some examples using this method:

ACAccountStoreMBS.accountsWithAccountType(type as ACAccountTypeMBS) as ACAccountMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns all accounts of the specified type.

Some examples using this method:

ACAccountStoreMBS.accountTypeWithAccountTypeIdentifier(identifier as string) as ACAccountTypeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns an account type that matches the specified identifier.

typeIdentifier: The account type identifier.

Some examples using this method:

ACAccountStoreMBS.accountWithIdentifier(identifier as string) as ACAccountMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the account with the specified identifier.

ACAccountStoreMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor.

ACAccountStoreMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The destructor.

ACAccountStoreMBS.removeAccount(account as ACAccountMBS, tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Removes an account from the account store.

account: The account to remove.

This call will fail if you don't have sufficient rights to remove the account.

ACAccountStoreMBS.renewCredentialsForAccount(account as ACAccountMBS, tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Renews account credentials when the credentials are no longer valid.

account: The account to renew credentials.

For Twitter and Sina Weibo accounts, this method will prompt the user to go to Settings to re-enter their password.
For Facebook accounts, if the access token has become invalid due to a regular expiration, this method will obtain a new one.
If the user has deauthorized your app, this renewal request will return ACAccountCredentialRenewResultRejected.

ACAccountStoreMBS.requestAccessToAccountsWithType(accountType as ACAccountTypeMBS, dic as dictionary, tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Obtains permission to access protected user properties.

accountType: The account type.
options: The account options.

Certain account types (such as Facebook) require an options dictionary. This method will throw an NSInvalidArgumentException if the options dictionary is not provided for such account types. Conversely, if the account type does not require an options dictionary, the options parameter must be nil.

Some examples using this method:

ACAccountStoreMBS.saveAccount(account as ACAccountMBS, tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Saves an account to the Accounts database.

account: The account to save.

If the account type supports authentication and the account is not authenticated, the account server uses the account's credentials to authenticate it. If the authentication is successful, the account is saved; otherwise it is not saved.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...