MonoTouch.Accounts.ACAccountStore Class
Encapsulates the Accounts database, providing access to MonoTouch.Accounts.ACAccount objects.

See Also: ACAccountStore Members

Syntax

[MonoTouch.Foundation.Register("ACAccountStore", true)]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.Mac_10_0 | MonoTouch.ObjCRuntime.Platform.Mac_10_1 | MonoTouch.ObjCRuntime.Platform.Mac_10_2 | MonoTouch.ObjCRuntime.Platform.Mac_10_3 | MonoTouch.ObjCRuntime.Platform.Mac_10_4 | MonoTouch.ObjCRuntime.Platform.Mac_10_5 | MonoTouch.ObjCRuntime.Platform.Mac_10_6 | MonoTouch.ObjCRuntime.Platform.Mac_10_7 | MonoTouch.ObjCRuntime.Platform.Mac_10_8 | MonoTouch.ObjCRuntime.Platform.Mac_10_9 | MonoTouch.ObjCRuntime.Platform.Mac_10_10 | MonoTouch.ObjCRuntime.Platform.Mac_Version | MonoTouch.ObjCRuntime.Platform.Mac_Arch64 | MonoTouch.ObjCRuntime.Platform.Mac_Arch)]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_5_0)]
public class ACAccountStore : MonoTouch.Foundation.NSObject

See Also

ACAccount

Remarks

The Accounts database on iOS provides account information for social networks. The social networks stored in the database are:

The following example shows the basic structure of code accessing the MonoTouch.Accounts.ACAccountStore object, requesting access to a specific account, and retrieving credentials:

C# Example

          var store = new ACAccountStore();
          var type = store.FindAccountType(ACAccountType.Twitter);
          
          store.RequestAccess(type, null, (granted, error) => {
          if(granted){
        

Related content

Requirements

Namespace: MonoTouch.Accounts
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0