getProfile(String) method

Returns the profile attributes in a SecProfile object.

Syntax

SecProfile getProfile ( String id ) throws SecException

Parameters

Returns

the SecProfile wrapper for the specified profile if the caller has a role that is required to access the profile or if the profile does not require any roles to access the information.

Exceptions

Usage

If the profile requires a role to access it and the caller does not have any of the required roles, then

SecException

is thrown.

This method is deprecated, there is no need to retrieve specific profile instances. Instead they are referenced by name when necessary.

the SecProfile wrapper for the specified profile if the caller has a role that is required to access the profile or if the profile does not require any roles to access the information.