Microsoft SDK for Java

getStoreFromContext

This method of the ClientStorageManager Class obtains the store for the currently executing principal. This method scans the current call stack to find the store for the last non-system principal.

Syntax

public ClientStore getStoreFromContext() throws IOException;

Return Value

Returns the store for the currently executing principal.

Exceptions

IOException if the context cannot be determined, if no caller has a principal, or if the store for the context does not exist and an error occurs while allocating space for the store.

SecurityException if the caller does not have permission to access the store.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.