ACAccount Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a user account stored in the Accounts database.
[Foundation.Register("ACAccount", true)]
public class ACAccount : Foundation.NSObject, Foundation.INSSecureCoding, IDisposable
[<Foundation.Register("ACAccount", true)>]
type ACAccount = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSSecureCoding
- Inheritance
- Attributes
- Implements
Remarks
iOS stores account information for certain social-network accounts in a system-wide database. A ACAccount represents a single account.
Accounts can either be retrieved based on account-type or via a known identifier (see Identifier):
var store = new ACAccountStore();
var type = store.FindAccountType(ACAccountType.Twitter);
var accounts = store.FindAccounts(type));
if(accounts != null && accounts.Count() > 0){...}
var account = store.FindAccount("21A78660-FFFF-FFFF-FFFF-027EB7E3FF5F");
Constructors
| Name | Description |
|---|---|
| ACAccount() |
Creates a new ACAccount with default values. |
| ACAccount(ACAccountType) | |
| ACAccount(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| ACAccount(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| ACAccount(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AccountDescription | |
| AccountType | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| Credential | |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| Identifier | |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| UserFullName | |
| Username | |
| Zone | (Inherited from NSObject) |