Not until 8.0 and then its a little different. GetCurrent isn't in the inprocess API because it requires a url at some stage in its logic, making it more appropriate in the widget API.
You can always Parse the url. May not be the best but you have a group path up until an application delimiter.
Also depending what you are doing it may be more appropriately done in a widget