protected void checkAndAddRoleToSysadmin( String strRole, Workspace ws )
			throws ServiceException, DataException {
		String query = ( new StringBuilder() ).append( "SELECT * FROM UserSecurityAttributes WHERE dUserName = 'sysadmin' AND dAttributeType = 'role' AND dAttributeName = '" ).append( strRole ).append( "'" ).toString();
		ResultSet rset = ws.createResultSetSQL( query );
		if( rset == null || rset.isEmpty() )
			ws.executeSQL( ( new StringBuilder() ).append( "insert into UserSecurityAttributes (dUserName, dAttributeName, dAttributeType,dAttributePrivilege) values ('sysadmin', '" ).append( strRole ).append( "', 'role', 15)" ).toString() );
	}