|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserStore
An interface to access the user repository.
Method Summary | |
---|---|
void |
addUser(IUser pUser)
Add a new user to the user store. |
void |
deleteUser(String userName)
Deletes a user account from the user store. |
boolean |
getAllUsers(String filter,
int maxCount,
IUser[][] users)
Returns a maxCount of users from the user store that match a particular filter. |
boolean |
getAllUsersPaged(int startIndex,
int pageSize,
IUser[][] users)
Returns a pageSize of users from the user store from the startIndex. |
int |
getTotalUsers()
Returns the total number of users in the user store. |
IUser |
getUser(String userName)
Returns a user account from the user store. |
void |
initialize(IPropertySet pProps)
Connects to a user store. |
boolean |
isReadOnly()
Tests the connection to the user store. |
void |
testConnection(IPropertySet pProps)
Tests the connection to the user store. |
void |
updateUser(IUser pUser)
Updates a user account in the user store. |
boolean |
validateUser(String userName,
String password)
Validates the credentials of the user against the user store. |
Method Detail |
---|
void testConnection(IPropertySet pProps) throws IOException, AutomationException
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void initialize(IPropertySet pProps) throws IOException, AutomationException
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReadOnly() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addUser(IUser pUser) throws IOException, AutomationException
pUser
- A reference to a com.esri.arcgis.server.IUser (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void updateUser(IUser pUser) throws IOException, AutomationException
pUser
- A reference to a com.esri.arcgis.server.IUser (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteUser(String userName) throws IOException, AutomationException
userName
- The userName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IUser getUser(String userName) throws IOException, AutomationException
userName
- The userName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTotalUsers() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getAllUsers(String filter, int maxCount, IUser[][] users) throws IOException, AutomationException
filter
- The filter (in)maxCount
- The maxCount (in)users
- A reference to a com.esri.arcgis.server.IUser array (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getAllUsersPaged(int startIndex, int pageSize, IUser[][] users) throws IOException, AutomationException
startIndex
- The startIndex (in)pageSize
- The pageSize (in)users
- A reference to a com.esri.arcgis.server.IUser array (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean validateUser(String userName, String password) throws IOException, AutomationException
userName
- The userName (in)password
- The password (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |