Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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);
        }