Difference between revisions of "GeoFence library"
From Gcube Wiki
(→Geofence library documentation) |
(→Geofence library documentation) |
||
Line 10: | Line 10: | ||
Returns a GeoServer User (GSUser) object using a specific id of user. | Returns a GeoServer User (GSUser) object using a specific id of user. | ||
− | |||
− | + | *getUserByUsername(String userName) | |
+ | Parameters: | ||
1. userName - It's the name of user you are looking for. | 1. userName - It's the name of user you are looking for. | ||
− | + | Returns a GeoServer User (GSUser) object using a specific name of user. |
Revision as of 18:37, 16 November 2017
Geofence library documentation
- getUserById(String id)
Parameters:
- id - It's the userId of user you are looking for.
Returns a GeoServer User (GSUser) object using a specific id of user.
- getUserByUsername(String userName)
Parameters: 1. userName - It's the name of user you are looking for. Returns a GeoServer User (GSUser) object using a specific name of user.