You could use the following function to obtain the guild note of a member
Lua Code:
local _,memberNote = GetGuildMemberInfo(guildId, GetGuildMemberIndexFromDisplayName(guildId, displayNameOfGuildMember) )
-guildId is the id of the guild that you are checking the note for
-displayNameOfGuildMember should be the shown name of the guild member (at the guild roster)
Ther was somethign with guildId if I remember right so that the guild ids were not always 1 to 5 (e.g. if you have left your 3rd guild the id of the guild 3 was removed and 4 got 3, 5 got 4. Or something similar.
After a reloadui the ids could be moved too, but I'm not sure anymore. You need to test this).