cancel
Showing results for 
Search instead for 
Did you mean: 

Lookup for System Alias

Former Member
0 Kudos

Hi,

can somebody tell me how I can get a List of available system alias in the Enterprise Portal?

I´ve tried something like this:

IUserMappingService iums = (IUserMappingService)PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);

IUserMappingData iumd = iums.getMappingData ("SystemAliasName",user);

In this case i´ve to hardcode SystemAliasNames but in some cases i don´t know the alias before.

thx

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

ok i solved by my self.

IUserMappingService Method getAllSystems() give a list of all SystemAlias Names.

Example:

IUserMappingService iums = (IUserMappingService)PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);

String systemList[] = iums.getAllSystems()