| Index: doc/manager-api.txt
|
| diff --git a/doc/manager-api.txt b/doc/manager-api.txt
|
| index a8826ed6a2adc61b1626b8fe111928daef18a967..9240e39dbb225e5143e99a3f84222ae20f22df03 100644
|
| --- a/doc/manager-api.txt
|
| +++ b/doc/manager-api.txt
|
| @@ -32,7 +32,63 @@ Methods dict GetProperties()
|
| object CreateProfile(string name)
|
|
|
| Create and add new profile with the specified
|
| - identifier name.
|
| + identifier name. The name should either be in the
|
| + form ``name'' or ``~user/name'' where where ``user''
|
| + is the login name of a user suitable for finding
|
| + their home directory. Both strings must contain
|
| + only alpha-numeric ASCII characters.
|
| +
|
| + Profiles created without a user name are stored in
|
| + a system directory readable only by the connection
|
| + mananger. Profiles created with a user name are
|
| + stored in the user's home directory but readable
|
| + only by, the connection manager.
|
| +
|
| + If any existing profile is specified it's contents
|
| + are reset to a default (minimal) contents.
|
| +
|
| + Possible Errors: [service].Error.InvalidArguments
|
| + [service].Error.AlreadyExists
|
| +
|
| + object PushProfile(string name)
|
| +
|
| + Push the profile with the specified identifier
|
| + onto the profile stack. The profile must have
|
| + previously been created with CreateProfile.
|
| + The profile becomes the ``active profile'' that
|
| + is searched first when loading data and to which
|
| + updates are stored.
|
| +
|
| + A profile may be pushed only once.
|
| +
|
| + Possible Errors: [service].Error.InvalidArguments
|
| + [service].Error.AlreadyExists
|
| +
|
| + object PopProfile(string name)
|
| +
|
| + Pop the top-most profile on the profile stack.
|
| + Any profile beneath this profile becomes the
|
| + ``active profile''. Any services using security
|
| + settings from the popped profile are disconnected
|
| + and the credentials invalidated (the next time
|
| + credentials are needed they are loaded from the
|
| + (new) active profile).
|
| +
|
| + The name must match the identifer of the active
|
| + profile. This is a safeguard against accidentally
|
| + removing the wrong profile.
|
| +
|
| + Note it is valid to pop all profiles from the
|
| + stack; in this state the connection manager does
|
| + not write any state to persistent storage.
|
| +
|
| + Possible Errors: [service].Error.InvalidArguments
|
| + [service].Error.NotFound
|
| +
|
| + object PopAnyProfile()
|
| +
|
| + Like PopProfile but do not check the profile on
|
| + the top of the stack; pop anything.
|
|
|
| Possible Errors: [service].Error.InvalidArguments
|
|
|
| @@ -250,7 +306,7 @@ Properties string State [readonly]
|
| The current connected technology which holds the
|
| default route.
|
|
|
| - boolean OfflineMode [readwrite]
|
| + boolean OfflineMode [readonly]
|
|
|
| The offline mode indicates the global setting for
|
| switching all radios on or off. Changing offline mode
|
|
|