getEnrollmentData

Returns the list of specified enrollment data for the supplied user.

For Java:

Copy
EnrollmentData[] getEnrollmentData(UserId userId, String[] enrollmentDataIds)
throws NoSuchUserException, NoSuchEnrollmentDataException, SessionException, ManagementException, LocalizedRemoteException;

For C++:

Copy
EnrollmentDataVector getEnrollmentData(UserId *userId, TStringVector *enrollmentDataIds);

Parameters:

  • userId—Unique indentifier of the user.

  • enrollmentDataIds—Enrollment data to be retrieved.

Returns:

  • The list of specified enrollment data for the supplied user.

Exceptions:

  • NoSuchUserException— if the specified user does not exist.

  • NoSuchEnrollmentDataException— if one or more of the IDs does not specify a valid enrollment data item.

  • SessionException— if there is no valid session (such as session not opened or timed out).

  • ManagementException— if an internal failure occurs.

  • LocalizedRemoteException— (thrown by the Web service layer) only when the most severe, unexpected, SOAP-level failures occur.

See also: Section Behavior with Multi-Valued Attributes.