Difference between revisions of "GeoFence library"
From Gcube Wiki
(→Geofence library documentation) |
(→Geofence library documentation) |
||
Line 9: | Line 9: | ||
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) | *getUserByUsername(String userName) | ||
− | Parameters: | + | '''Parameters''': |
− | 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. | + | '''Returns''' a GeoServer User (GSUser) object using a specific name of user. |
Revision as of 17: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.