Exemplo n.º 1
0
    public bool IsGroupInRole(string groupID, string roleID)
    {
        if (!header.VerifyCredentials(header.UserName, header.Password, header.Type))
        {
            return(false);
        }

        Guid gGroupID = (Guid)XmlSerializer.Deserialize(groupID);

        Guid gRoleID = (Guid)XmlSerializer.Deserialize(roleID);

        return(OrganizationPublicHelper.IsGroupInRole(gGroupID, gRoleID));
    }