Behaves exactly like the GetFact function, except that instead of returning the fact, this function returns the person's role with respect to the fact if they are listed as a witness for the fact in question, with a defined role.
=GetRole(%INDI%, "CENS[1881]")