The Service contains methods to login and create hash to directly enter conference rooms, recordings or the application in general
WSDL sample Url: http://localhost:5080/openmeetings/services/UserService?wsdl
load this session id before doing anything else Returns an Object of Type Sessiondata, this contains a sessionId, use that sessionId in all Methods
Return Type: org.openmeetings.app.persistence.beans.basic.Sessiondata
Params:
No Paramsuth function, use the SID you get by getSession, return positive means logged-in, if negative its an ErrorCode, you have to invoke the Method getErrorByCode to get the Text-Description of that ErrorCode
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | Username from OpenMeetings, the user has to have Admin-rights |
String | userpass | Userpass from OpenMeetings |
loads an Error-Object. If a Method returns a negative Result, its an Error-id, it needs a language_id to specify in which language you want to display/read the error-message. English has the Language-ID one, for different one see the list of languages
Return Type: org.openmeetings.app.data.beans.basic.ErrorResult
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
long | errorid | the error id (negative Value here!) |
long | language_id | The id of the language |
Adds a new Usre like through the Frontend, but also does activates the Account To do SSO see the methods to create a hash and use those ones!
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | userpass | any userpass |
String | lastname | any lastname |
String | firstname | any firstname |
String | any email | |
String | additionalname | any additionalname |
String | street | any street |
String | zip | any zip |
String | fax | any fax |
long | states_id | a valid states_id |
String | town | any town |
long | language_id | the language_id |
String | baseURL | the baseURL is needed to send the Initial Email correctly to that User, otherwise the Link in the EMail that the new User will reveive is not valid |
Adds a new User like through the Frontend, but also does activates the Account
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | userpass | any userpass |
String | lastname | any lastname |
String | firstname | any firstname |
String | any email | |
String | additionalname | any additionalname |
String | street | any street |
String | zip | any zip |
String | fax | any fax |
long | states_id | a valid states_id |
String | town | any town |
long | language_id | the language_id |
String | baseURL | the baseURL is needed to send the Initial Email correctly to that User, otherwise the Link in the EMail that the new User will reveive is not valid |
String | jNameTimeZone | the name of the timezone for the user |
Adds a new User like through the Frontend, but also does activates the Account, sends NO email (no matter what you configured) and sets the users external user id and type Use the methods to create a hash for SSO, creating users is not required for SSO
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | userpass | any userpass |
String | lastname | any lastname |
String | firstname | any firstname |
String | any email | |
String | additionalname | any additionalname |
String | street | any street |
String | zip | any zip |
String | fax | any fax |
long | states_id | a valid states_id |
String | town | any town |
long | language_id | the language_id |
String | jNameTimeZone | the name of the timezone for the user |
String | externalUserId | externalUserId |
String | externalUserType | externalUserType |
Delete a certain user by its id
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
Long | userId | the openmeetings user id |
Delete a certain user by its external user id
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | externalUserId | externalUserId |
String | externalUserType | externalUserId |
deprecated use setUserObjectAndGenerateRoomHash Description: sets the SessionObject for a certain SID, after setting this Session-Object you can use the SID + a RoomId to enter any Room.
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | firstname | any firstname |
String | lastname | any lastname |
String | profilePictureUrl | any profilePictureUrl |
String | any email |
deprecated use setUserObjectAndGenerateRoomHash Description: sets the SessionObject for a certain SID, after setting this Session-Object you can use the SID + a RoomId to enter any Room.
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | firstname | any firstname |
String | lastname | any lastname |
String | profilePictureUrl | any profilePictureUrl |
String | any email | |
String | externalUserId | if you have any external user Id you may set it here |
String | externalUserType | you can specify your system-name here, for example "moodle" |
Description: sets the SessionObject for a certain SID, after setting this Session-Object you can use the SID + a RoomId to enter any Room. ... Session-Hashs are deleted 15 minutes after the creation if not used.
Return Type: java.lang.String
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | firstname | any firstname |
String | lastname | any lastname |
String | profilePictureUrl | any profilePictureUrl |
String | any email | |
String | externalUserId | if you have any external user Id you may set it here |
String | externalUserType | you can specify your system-name here, for example "moodle" |
Long | room_id | the room id the user should be logged in |
int | becomeModeratorAsInt | 0 means no Moderator, 1 means Moderator |
int | showAudioVideoTestAsInt | 0 means don't show Audio/Video Test, 1 means show Audio/Video Test Application before the user is logged into the room |
Description: sets the SessionObject for a certain SID, after setting this Session-Object you can use the SID + a RoomId to enter any Room. ++ the user can press f5 to reload the page / use the link several times, the SOAP Gateway does remember the IP of the user and the will only the first user that enters the room allow to re-enter. ... Session-Hashs are deleted 15 minutes after the creation if not used.
Return Type: java.lang.String
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | firstname | any firstname |
String | lastname | any lastname |
String | profilePictureUrl | any profilePictureUrl |
String | any email any email | |
String | externalUserId | if you have any external user Id you may set it here |
String | externalUserType | you can specify your system-name here, for example "moodle" |
Long | room_id | the room id the user should be logged in |
int | becomeModeratorAsInt | 0 means no Moderator, 1 means Moderator |
int | showAudioVideoTestAsInt | 0 means don't show Audio/Video Test, 1 means show Audio/Video Test Application before the user is logged into the room |
Description: sets the SessionObject for a certain SID, after setting this Session-Object you can use the SID + a RoomId to enter any Room. ++ the user can press f5 to reload the page / use the link several times, the SOAP Gateway does remember the IP of the user and the will only the first user that enters the room allow to re-enter. ... Session-Hashs are deleted 15 minutes after the creation if not used. ++ sets the flag if the user can do recording in the conference room
Return Type: java.lang.String
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | firstname | any firstname |
String | lastname | any lastname |
String | profilePictureUrl | any profilePictureUrl |
String | any email | |
String | externalUserId | if you have any external user Id you may set it here |
String | externalUserType | you can specify your system-name here, for example "moodle" |
Long | room_id | the room id the user should be logged in |
int | becomeModeratorAsInt | 0 means no Moderator, 1 means Moderator |
int | showAudioVideoTestAsInt | 0 means don't show Audio/Video Test, 1 means show Audio/Video Test Application before the user is logged into the room |
int | allowRecording | 0 means don't allow Recording, 1 means allow Recording |
Description: sets the SessionObject for a certain SID, after setting this Session-Object you can use the SID and directly login into the dashboard ++ the user can press f5 to reload the page / use the link several times, the SOAP Gateway does remember the IP of the user and the will only the first user that enters the room allow to re-enter. ... Session-Hashs are deleted 15 minutes after the creation if not used.
Return Type: java.lang.String
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | firstname | any firstname |
String | lastname | any lastname |
String | profilePictureUrl | any absolute profilePictureUrl |
String | any email | |
String | externalUserId | if you have any external user Id you may set it here |
String | externalUserType | you can specify your system-name here, for example "moodle" |
Description: sets the SessionObject for a certain SID, after setting this Session-Object you can use the SID + a RoomId to enter any Room. ++ the user can press f5 to reload the page / use the link several times, the SOAP Gateway does remember the IP of the user and the will only the first user that enters the room allow to re-enter. ... Session-Hashs are deleted 15 minutes after the creation if not used. ++ Additionally you can set a param showNickNameDialogAsInt, the effect if that param is 1 is, that the user gets a popup where he can enter his nickname right before he enters the conference room. All nicknames and emails users enter are logged in the conferencelog table.
Return Type: java.lang.String
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | firstname | any firstname |
String | lastname | any lastname |
String | profilePictureUrl | any profilePictureUrl |
String | any email | |
String | externalUserId | if you have any external user Id you may set it here |
String | externalUserType | you can specify your system-name here, for example "moodle" |
Long | room_id | the room id the user should be logged in |
int | becomeModeratorAsInt | 0 means no Moderator, 1 means Moderator |
int | showAudioVideoTestAsInt | 0 means don't show Audio/Video Test, 1 means show Audio/Video Test Application before the user is logged into the room |
int | showNickNameDialogAsInt | 0 means do not show the popup to enter a nichname, 1 means that there is a popup to enter the nickname for the conference |
Use this method to access a Recording instead of Room
Return Type: java.lang.String
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | username | any username |
String | firstname | any firstname |
String | lastname | any lastname |
String | externalUserId | if you have any external user Id you may set it here |
String | externalUserType | you can specify your system-name here, for example "moodle" |
Long | recording_id | the id of the recording, get a List of all Recordings with RoomService::getFlvRecordingByExternalRoomType |
Add a user to a certain organization
Return Type: java.lang.Long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
Long | user_id | the user id |
Long | organisation_id | the organization id |
Long | insertedby | user id of the operating user |
Search users and return them
Return Type: org.openmeetings.app.data.beans.basic.SearchResult
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
long | organisation_id | the organization id |
int | start | first record |
int | max | max records |
String | orderby | orderby clause |
boolean | asc | asc or desc |
Kick a user by its public SID
Return Type: java.lang.Boolean
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | The SID from getSession |
String | publicSID | the publicSID (you can get it from the call to get users in a room) |