private static String convertGroupGrantee(GroupGrantee grantee) { StringBuilder builder = new StringBuilder(); builder.Append("<Grantee xmlns:xsi=\"" + xmlns + "\" xsi:type=\"Group\">"); builder.Append("<URI>" + grantee.getIdentifier() + "</URI>"); builder.Append("</Grantee>"); return builder.ToString(); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj.GetType() == this.GetType()) { GroupGrantee other = (GroupGrantee)obj; return(other.groupUri.Equals(other.groupUri)); } return(false); }