# com.bea.wli.user.api
UserInfo Interface

public interface UserInfo

## Method Summary

`public void` | `deleteWLIUserInfo`(`String` userid) Removes this user information from the WLI database
`public `String`` | `getUserCalendarId`(`String` userid) Retrieve the calendar id for this user
`public `String`` | `getUserEmail`(`String` userid) Retrieve the email address for this user.
`public boolean` | `groupExistsWLS`(`String` groupId)
`public void` | `sync`() Removes all users from the WLI database that do not exist in WLS
`public void` | `unsetUserCalendar`(`String` userid) Unsets the calendar for this user.
`public void` | `updateUserCalendar`(`String` userid, `String` calendarId) Sets the calendar for this user.
`public void` | `updateUserEmail`(`String` userid, `String` email) Sets the email address for this user.

## Method Detail

### deleteWLIUserInfo(String) Method

    public void deleteWLIUserInfo(String userid)
         throws UserInfoException, RemoteException

Removes this user information from the WLI database

#### Exceptions

``UserInfoException``
``RemoteException``

### getUserCalendarId(String) Method

    public String getUserCalendarId(String userid)
         throws UserInfoException, RemoteException

Retrieve the calendar id for this user

#### Returns

The calendar id for the user or null if there is no calendar.

#### Exceptions

``UserInfoException``
``RemoteException``

### getUserEmail(String) Method

    public String getUserEmail(String userid)
         throws UserInfoException, RemoteException

Retrieve the email address for this user.

#### Returns

The email address of the user or null if there is no email address is found.

#### Exceptions

``UserInfoException``
``RemoteException``

### groupExistsWLS(String) Method

    public boolean groupExistsWLS(String groupId)
         throws UserInfoException, RemoteException

#### Exceptions

``UserInfoException``
``RemoteException``

### sync() Method

    public void sync()
         throws UserInfoException, RemoteException

Removes all users from the WLI database that do not exist in WLS

#### Exceptions

``UserInfoException``
``RemoteException``

### unsetUserCalendar(String) Method

    public void unsetUserCalendar(String userid)
         throws UserInfoException, RemoteException

Unsets the calendar for this user.

#### Exceptions

``UserInfoException``
``RemoteException``

### updateUserCalendar(String, String) Method

    public void updateUserCalendar(String userid,
                                   String calendarId)
         throws UserInfoException, RemoteException

Sets the calendar for this user. A user record is created if it does not exist in the WLI database. Exception is thrown if the calendar does not exist or the user is not a valid WLS user.

#### Exceptions

``UserInfoException``
``RemoteException``

### updateUserEmail(String, String) Method

    public void updateUserEmail(String userid,
                                String email)
         throws UserInfoException, RemoteException

Sets the email address for this user. A user record is created if it does not exist in the WLI database. Exception is thrown if the user is not a valid WLS user.

#### Exceptions

``UserInfoException``
``RemoteException``