Return a list of Registered Users
If you wish to return a list of users registered in the My Alerts database you will need to call the GetFullUserList method. This method is available to developers from the Users.asmx Web Service.
Parameters
Name | Requirement | Description |
---|---|---|
ClientId | mandatory | This is the id for the client that was returned by the CreateSessionKey method. |
SessionKey | mandatory | This is the SessionKey for the client that was returned by the CreateSessionKey method. |
Returns
<GetFullUserListResult> <Error> <Code>string</Code> <Description>string</Description> </Error> <Success>boolean</Success> <UserSchedule> <UserScheduleDefinition> <UserId>int</UserId> <Interval>int</Interval> <LastRun>dateTime</LastRun> </UserScheduleDefinition> <UserScheduleDefinition> <UserId>int</UserId> <Interval>int</Interval> <LastRun>dateTime</LastRun> </UserScheduleDefinition> </UserSchedule> </GetFullUserListResult>
Error - Code / Description
An error code and description if the call to the web service is unsuccessful and the Success if False.
1019 – Error creating Session key
1024 – Client authentication failed
Success
This will be either True or False. If False an error message will be provided in the Error result, if True the UserSchedule will be provided.
UserSchedule
A UserSchedule entry will be returned for each user with the following entries:
UserId
This is the unique id for the user.
Interval
This is the interval in secs???????
LastRun
This is the date and time that My Alerts was last run for this user.